Debian Codegraph @

texmf-dist/tex/latex/jknapltx/sans.sty

raw
1 % SANS.STY
2 % (c) copyleft 1992, 1996, 1999 J"org Knappen
3 % Licence: GNU public licence, version 2
4 %
5 % This package makes computer modern sans serif the default font
6 % \sf switches to the cmr family
7 %
8 % This package works can be used with LaTeX2e or with
9 % LaTeX2.09 and the New Font Selection Scheme (NFSS)
10
11 \@ifundefined{extract@font}
12 {\errmessage{The style option `sans' does not make sense if you
13 do not use a format with the new font selection scheme.
14 Please upgrade to LaTeX2e.}
15 \endinput}
16 {}
17 \@ifundefined{reset@font}
18 {\errmessage{The style option `sans' does not make sense if you
19 do not use LaTeX of Dec 1, 1991 or later.
20 Please upgrade to LaTeX2e.}
21 \endinput}
22 {}
23 \renewcommand{\rmdefault}{cmss}
24 \renewcommand{\sfdefault}{cmr}
25 \reset@font
26 \endinput
27
28 Exchanges the roles of sans and roman in a cm or ec setup. Does not work for
29 other font setups (like times/helvetica), unfortunately.
30
31 This package is written by
32
33 J"org Knappen, Barbarossaring 43, D-55118 Mainz, Allemagne
34 Author of the Book: Schnell ans Ziel mit LaTeX2e, Oldenbourg-Verlag
35 M"unchen, 1997, ISBN 3-486-24199-0.
36 % /sans.sty