Typo
[latex2e.git] / latex2e-20151001 / base / testfiles / tlb1578c.lvt
blobfc44ef1b38cf8ec85a3d0cc73bb3bc4cf7501e8f
1 % Test file for LaTeX2e bug report #1578.
2 % running heads should have the same font as the body text
3 \documentclass{article}
4 % Input the test macros for LaTeX2e
5 \input{test2e}
7 \AUTHOR{Johannes Braams}
8 \FORMAT{LaTeX2e<1994/12/01>}
9 \CLASS{article}
10 \renewcommand\familydefault{cmss}
11 \let\orgthepage\thepage
12 \def\thepage{\immediate\write16{head font: \the\font}\orgthepage}
13 \let\orgtheequation\theequation
14 \def\theequation{\immediate\write16{eqnn font: \the\font}\orgtheequation}
15 \makeatletter
16 \def\ps@plain{\let\@mkboth\@gobbletwo
17      \let\@oddhead\@empty\def\@oddfoot{\reset@font\hfil\thepage
18      \hfil}\let\@evenhead\@empty\let\@evenfoot\@oddfoot}
19 \ps@plain
20 \def\@eqnnum{{\normalfont \normalcolor (\theequation)}}
21 \begin{document}
22 \START
24 \immediate\write16{body font: \the\font}
25 test
26 \begin{equation}
27 a^2 + b^2 = c^2
28 \end{equation}
29 test
30 \end{document}