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