summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/jknappen/sans.sty
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/jknappen/sans.sty
Initial commit
Diffstat (limited to 'macros/latex/contrib/jknappen/sans.sty')
-rw-r--r--macros/latex/contrib/jknappen/sans.sty36
1 files changed, 36 insertions, 0 deletions
diff --git a/macros/latex/contrib/jknappen/sans.sty b/macros/latex/contrib/jknappen/sans.sty
new file mode 100644
index 0000000000..725e859d21
--- /dev/null
+++ b/macros/latex/contrib/jknappen/sans.sty
@@ -0,0 +1,36 @@
+% SANS.STY
+% (c) copyleft 1992, 1996, 1999 J"org Knappen
+% Licence: GNU public licence, version 2
+%
+% This package makes computer modern sans serif the default font
+% \sf switches to the cmr family
+%
+% This package works can be used with LaTeX2e or with
+% LaTeX2.09 and the New Font Selection Scheme (NFSS)
+
+\@ifundefined{extract@font}
+ {\errmessage{The style option `sans' does not make sense if you
+ do not use a format with the new font selection scheme.
+ Please upgrade to LaTeX2e.}
+ \endinput}
+ {}
+\@ifundefined{reset@font}
+ {\errmessage{The style option `sans' does not make sense if you
+ do not use LaTeX of Dec 1, 1991 or later.
+ Please upgrade to LaTeX2e.}
+ \endinput}
+ {}
+\renewcommand{\rmdefault}{cmss}
+\renewcommand{\sfdefault}{cmr}
+\reset@font
+\endinput
+
+Exchanges the roles of sans and roman in a cm or ec setup. Does not work for
+other font setups (like times/helvetica), unfortunately.
+
+This package is written by
+
+J"org Knappen, Barbarossaring 43, D-55118 Mainz, Allemagne
+Author of the Book: Schnell ans Ziel mit LaTeX2e, Oldenbourg-Verlag
+M"unchen, 1997, ISBN 3-486-24199-0.
+% /sans.sty