1 % Test file for nfss testing various bugs from nfss.bug
6 \documentstyle{article}
12 \FORMAT{LaTeX2e<1993/12/24>}
15 % preparing for bug (42)
17 \renewcommand{\rmdefault}{cmss}
19 % preparing for bug (44)
21 \DeclareFontShape{OT1}{cmss}{m}{funny1}{<->ssub * cmss/m/funny2}{}
22 \DeclareFontShape{OT1}{cmss}{m}{funny2}{<->ssub * cmss/m/sl}{}
24 % the second \addtoversion should produce a warning the first only
25 % overwrites the default settings.
27 \SetMathAlphabet{\mathbf}{normal}{OT1}{cmr}{b}{n}
28 \SetMathAlphabet{\mathbf}{normal}{OT1}{cmss}{bx}{n} % funny value should
37 % ** (42) NPa 92/07/18: changing \rmdefault in the preamble doesn't
38 % change the base font characteristics of the whole document.
39 % Fixed 92/07/18 FMi: with v1.1i of latint.
45 % ** (44) FJe 92/08/17: double substitution using \subst@fontshape
47 % Fixed 92/08/19 FMi: with v1.3d of fam.
50 \fontshape{funny1}\selectfont
53 % Test that sl still points to sl:
55 \fontshape{sl}\selectfont
58 % ** (47) FJe 92/09/07: Since a warning is given for every size when a
59 % font substitution happens it is better to include the size
60 % into the warning message.
61 % Fixed 92/09/07 FMi: with v1.3f of fam.
63 % first two lines shouldn't produce a warning third line should produce
66 {\fontshape{funny1}\selectfont}
67 {\fontshape{funny2}\selectfont}
68 {\large\fontshape{funny1}\selectfont}
71 % ** (45) RKe 92/08/19: In nfss the command \@currsize is not set by
72 % the standard size changing commands.
73 % Fixed 92/09/01 FMi: changed definition of \@setsize to include
74 % an assignment to \@currsize. However, this assignment is
75 % *not* carried out when the size changing command is used
76 % un\protected in a moving argument to keep the size changing
84 \typeout{@currsize defined}
86 \typeout{@currsize undefined}
98 $\mathbf{a} \mathsf{G} \mathtt{f}$