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 \documentclass{article}
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 % Article 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 documentclass.
42 % Optionally declare commands which are (or might be)
43 % defined in this `module' of LaTeX. Each command declared
44 % will be recorded in the .tlg file as Defined, Undefined,
45 % or Relaxed (ie \let to \relax, which LaTeX treats for most
46 % purposes as being undefined)
48 \declare@command\section
49 \declare@command\subsection
50 \declare@command\subsubsection
51 \declare@command\paragraph
52 \declare@command\subparagraph
54 \section{Intro\typeout{The \string\section\ font is \the\font}}\sf Intro
55 \subsection{Intr\typeout{The \string\subsection\ font is \the\font}}\sf Intro
56 \subsubsection{Int\typeout{The \string\subsubsection\ font is \the\font}}\sf Intro
57 \paragraph{In\typeout{The \string\paragraph\ font is \the\font}}\sf Intro
58 \subparagraph{I\typeout{The \string\subparagraph\ font is \the\font}}\sf Intro