1 % Test file for LaTeX2e bug report #1578.
2 % running heads should have the same font as the body text
3 \documentclass[leqno]{article}
4 % Input the test macros for LaTeX2e
7 \AUTHOR{Johannes Braams}
8 \FORMAT{LaTeX2e<1994/12/01>}
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}
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}
20 \renewcommand\@eqnnum{\hb@xt@.01\p@{}%
21 \rlap{\normalfont\normalcolor
22 \hskip -\displaywidth(\theequation)}}
26 \immediate\write128{body font: \the\font}