1 % Test file for nfss testing various bugs from nfss.bug
4 % changed RmS 92/09/24, last changed 94/01/18
9 \FORMAT{LaTeX2e<1993/12/24>}
20 \documentclass{article}
23 % ** (7) DH 90/06/29: oldlfont.sty shouldn't be read in twice to
24 % avoid math group overflow.
25 % FMi 90/06/29: fixed.
30 \usepackage{oldlfont} % bug (7)
32 % ** (26) RmS 91/11/22: euscript.sty does not work without amstex.sty option.
33 % FMi 91/11/22: Missing code added.
38 \usepackage{euscript} % bug (26)
40 \usepackage{newlfont} % we test newlfont!
44 % ** (2) FMi 90/04/05: \makelabels in letter will cause an error because \xpt
45 % is redefined to \@preamerr after \document.
46 % FMi 90/06/03: Fixed by redefining \xpt inside \xpt. (v1.1j lfonts.doc)
52 % ** (19) DWu 91/03/03: The combination of twoside, \pagestyle{headings}
53 % and newlfont.sty results in slanted page numbers on every second
54 % page. This is again the result of mixing LaTeX 2.09 styles with
55 % the font selection scheme.
56 % Temp. fix: delimit the scope of \sl in the heading macros with
57 % an extra set of braces. The standard styles will be updated soon.
58 % FMi 91/09/28: corrected with the new release of LaTeX 2.09
60 \pagestyle{headings} % bug (19)
62 \renewcommand{\baselinestretch}{2}
66 % ** (18) FMi 90/10/12: FJe reported that changes to \baselinestretch
67 % in the preamble do not affect the setting of \baselineskip.
68 % FMi 90/10/12: Fixed by forcing a reinitialisation in
72 XXX\\XXX\par % bug (18)
73 \renewcommand{\baselinestretch}{1}
76 % ** (50) BRa ???: Changing only \baselinestretch has no effect.
77 % Fixed 92/09/24 RmS: with v1.3h of fam and v1.0s of tracefnt.
79 \renewcommand{\baselinestretch}{2}
82 ABC\hfill\mbox{}\linebreak
85 \renewcommand{\baselinestretch}{1}\selectfont
87 ABC\hfill\mbox{}\linebreak
91 % ** (5) MDo 90/06/08: An \hbox{\small ...} in vertical mode will be
92 % placed into the vertical list using the \baselineskip current
93 % inside the box not the one outside the box. Temp. fix: use
94 % extra braces to keep the change from \small local. Final fix
95 % will move part of the code from \gbl@settings into \selectfont.
96 % FMi 90/06/24: fixed.
99 \hbox{\small ABC} % bug (5)
101 % ** (6) DH 90/06/18: \hbox instead of \mbox was used in \text.
102 % FMi 90/06/24: fixed.
104 % see entry (36) for the rename
106 \csname nfss@text\endcsname{A}n inital % bug (6)
108 % ** (13) DH 90/07/10: In fam.doc a missing percent in \sub@fontshape
109 % could produce an extra space if a font is loaded in horizontal
111 % FMi 90/07/11: fixed.
113 % ** (28) RBa 91/05: \series etc. should get different names because they may
114 % be used in mathematical work.
115 % FMi 91/11/27: Changed to \fontfamily, \fontseries, \fontshape and
116 % \fontsize. Old names are still supported but shouldn't be used any
119 foo {\fontfamily{cmtt}% % bug (13) + (28)
124 \newpage % bug (19) cont.
126 % ** (16) FMi 90/10/02: Dr. David Love reported that \paragraph{Test} {\sl AB}
127 % would produce a bold slanted heading the newlfont option.
128 % This is actually not an error of the font selection scheme but
129 % a problem with LaTeX 2.09. If the newlfont option is used, it is
130 % necessary that at some places in a style file all font parameters
131 % are specified. Currently the LaTeX styles specify only \normalsize
132 % \bf in headings. In this case one has to reset the wrong font
133 % parameter by hand, e.g., \paragraph{\normalshape Test} in the
134 % case above. As similar problem will arise when a footnote is
135 % encountered during the scope of \sf etc. This problem will
136 % vanish with the new LaTeX.
137 % FMi 91/09/28: corrected with the new release of LaTeX 2.09
139 \paragraph{Test} % bug (16)
141 % ** (17) DH 90/10/04: It seems better to substitute cmti for cmu fonts
142 % which are not available since this font is mainly used for the
143 % \pound symbol. (Who likes to get pounds converted to dollars in
145 % FMi 90/10/09: Changed.
147 % ** (21) SLe 91/03/25: \$ no longer worked as superscript in math.
148 % Fixed 91/03/27 FMi: added extra braces around definition. Did
149 % the same for \pounds and \copyright.
151 {\tiny \pounds} % bug (17)
153 b_\copyright^\pounds$ % bug (21) + (26) cont.
156 % ** (36) FMi 92/03/21: Macro \text was renamed to \nfss@text to make it
157 % internal because people complained that the name is too
158 % common. The style file amstext.sty will redefine this to
159 % behave like the \text macro in amstext. This means that people
160 % who wish to use \text need to load amstext.sty in the
161 % \documentstyle command.
164 The \verb=\text= macro is
165 \ifx\text\undefined un\fi