1 % \iffalse meta-comment
3 % Copyright (C) 1992 by David Carlisle, Frank Mittelbach.
6 % This file is part of the validate package.
10 % You are not allowed to change this file. In case of error
11 % write to the email address mentioned in the file readme.val.
15 % Test file for LaTeX2.09 testing latex.bug (style) entries:
16 % 81. The \subparagraph command in bk11.doc/sty lacks a \reset@font.
17 % (Reported by Dietrich Baumann.)
20 \documentstyle[12pt]{book}
23 % Input the test macros for LaTeX2e
26 % Everything before this is ignored by the test system.
31 % Declare the format used on the original run, as printed by
34 \FORMAT{LaTeX2e<1993/12/24>}
36 % Book document style for this test. We need to have a
37 % minimal font setup, for the last few tests, otherwise we
38 % could have done this with no documentstyle.
40 % \STYLE{article <14 Jan 92>}
41 % \STYLE{report <14 Jan 92>}
43 % \STYLE{letter <25 Mar 92>}
45 % no document style options for this test
49 % Optionally declare commands which are (or might be)
50 % defined in this `module' of LaTeX. Each command declared
51 % will be recorded in the .tlg file as Defined, Undefined,
52 % or Relaxed (ie \let to \relax, which LaTeX treats for most
53 % purposes as being undefined)
55 \declare@command\section
56 \declare@command\subsection
57 \declare@command\subsubsection
58 \declare@command\paragraph
59 \declare@command\subparagraph
61 \section{Intro\typeout{The \string\section\ font is \the\font}}\sf Intro
62 \subsection{Intr\typeout{The \string\subsection\ font is \the\font}}\sf Intro
63 \subsubsection{Int\typeout{The \string\subsubsection\ font is \the\font}}\sf Intro
64 \paragraph{In\typeout{The \string\paragraph\ font is \the\font}}\sf Intro
65 \subparagraph{I\typeout{The \string\subparagraph\ font is \the\font}}\sf Intro