Improve build script for amsmath
[latex2e.git] / latex2e-20160201 / base / testfiles / tlb1578b.lvt
blob3a4971d57482486926930b850a8ec8bb8358e862
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
5 \input{test2e}
7 \AUTHOR{Johannes Braams}
8 \FORMAT{LaTeX2e<1994/12/01>}
9 \CLASS[leqno]{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 \renewcommand\@eqnnum{\hb@xt@.01\p@{}%
21                       \rlap{\normalfont\normalcolor
22                         \hskip -\displaywidth(\theequation)}}
23 \begin{document}
24 \START
26 \immediate\write128{body font: \the\font}
27 test
28 \begin{equation}
29 a^2 + b^2 = c^2
30 \end{equation}
31 \end{document}