1 % \iffalse meta-comment
3 % Copyright (C) 1993 by Rainer Schoepf.
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 % 46. In the fleqn style, \@beginparpenalty and \@endparpenalty were
17 % used instead of \predisplaypenalty and \postdisplaypenalty before and
18 % after a displayed equation made with \[ ... \] or the "equation"
19 % environment. (Reported by Rainer Sch\"opf and Frank Mittelbach.
20 % Corrected 24 May 89.)
22 % 47. The fix to the fleqn style reported in number 46 (24 May 89)
23 % re-introduced bug fixed in number 33 (9 Mar 87).
24 % (Corrected 26 Sep 89.)
27 \documentstyle[fleqn]{article}
30 % Input the test macros for LaTeX2e
33 % Everything before this is ignored by the test system.
36 \AUTHOR{Rainer Schoepf}
38 % Declare the format used on the original run, as printed by
41 \FORMAT{LaTeX Version 2.09 <03 November 1993>}
43 % Article document style for this test. We need to have a
44 % minimal font setup, for the last few tests, otherwise we
45 % could have done this with no documentstyle.
47 \STYLE{article <14 Jan 92>}
48 % \STYLE{report <14 Jan 92>}
49 % \STYLE{book <14 Jan 92>}
50 % \STYLE{letter <25 Mar 92>}
52 % no document style options for this test
56 % We are using a format based on basefont.tex - possible values
57 % here are: original oldlfont newlfont basefont
59 \FONTSELECTION{basefont}
61 % Optionally declare commands which are (or might be)
62 % defined in this `module' of LaTeX. Each command declared
63 % will be recorded in the .tlg file as Defined, Undefined,
64 % or Relaxed (ie \let to \relax, which LaTeX treats for most
65 % purposes as being undefined)
67 \declare@command\@eqnnum
68 \declare@command\theequation
69 \renewcommand{\theequation}{\arabic{equation}\typeout{\string\@eqnnum\ font is \the\font}}
73 An equation\sf san serif will appear as \verb|\cmss|
75 \sum_{i=1}^{n} x_{i} = \int_{0}^{1} f
79 \section{Equation arrays}
82 \sum_{i=1}^{n} x_{i} &=& \int_{0}^{1} f \\
83 \sum_{i=1}^{n} x_{i} &=& \int_{0}^{1} f \\
84 \sum_{i=1}^{n} x_{i} &=& \int_{0}^{1} f
89 text test text text test text text test text text test text text test text
90 text test text text test text text test text text test text text test
91 text test text text test text text test text text test text text test
92 text test text text test text text test text text test text text test
93 text test text text test text text test text text test text text test
95 %%%% Notice that the fourth column has been used.
101 text test text text test text text test text text test text text test text
102 text test text text test text text test text text test text text test
103 text test text text test text text test text text test text text test
104 text test text text test text text test text text test text text test
105 text test text text test text text test text text test text text test