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[11pt]{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 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\chapter
49 \declare@command\section
50 \declare@command\subsection
51 \declare@command\subsubsection
52 \declare@command\paragraph
53 \declare@command\subparagraph
55 \chapter{Introd\typeout{The \string\chapter\ font is \the\font}}\sf Intro
56 \section{Intro\typeout{The \string\section\ font is \the\font}}\sf Intro
57 \subsection{Intr\typeout{The \string\subsection\ font is \the\font}}\sf Intro
58 \subsubsection{Int\typeout{The \string\subsubsection\ font is \the\font}}\sf Intro
59 \paragraph{In\typeout{The \string\paragraph\ font is \the\font}}\sf Intro
60 \subparagraph{I\typeout{The \string\subparagraph\ font is \the\font}}\sf Intro