summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/jknapltx/sans.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-01-12 23:57:21 +0000
committerKarl Berry <karl@freefriends.org>2006-01-12 23:57:21 +0000
commit5ab48c515e7f18de489791d28188b43a389fe4c8 (patch)
treed11d232a328cd0436ccd36c402481be300e6d1e1 /Master/texmf-dist/tex/latex/jknapltx/sans.sty
parent350ddf44c5a7b4a3fd69591394cd828cd6518eb3 (diff)
jknapltx
git-svn-id: svn://tug.org/texlive/trunk@1006 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/jknapltx/sans.sty')
-rw-r--r--Master/texmf-dist/tex/latex/jknapltx/sans.sty36
1 files changed, 36 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/jknapltx/sans.sty b/Master/texmf-dist/tex/latex/jknapltx/sans.sty
new file mode 100644
index 00000000000..725e859d21c
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/jknapltx/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