summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/beamer/themes/font/beamerfontthemeserif.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/beamer/themes/font/beamerfontthemeserif.sty')
-rw-r--r--Master/texmf-dist/tex/latex/beamer/themes/font/beamerfontthemeserif.sty28
1 files changed, 28 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/beamer/themes/font/beamerfontthemeserif.sty b/Master/texmf-dist/tex/latex/beamer/themes/font/beamerfontthemeserif.sty
new file mode 100644
index 00000000000..08df768bad6
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/beamer/themes/font/beamerfontthemeserif.sty
@@ -0,0 +1,28 @@
+\ProvidesPackageRCS $Header: /cvsroot/latex-beamer/latex-beamer/themes/font/beamerfontthemeserif.sty,v 1.3 2004/10/07 20:53:09 tantau Exp $
+
+% Copyright 2003 by Till Tantau <tantau@users.sourceforge.net>
+%
+% This program can be redistributed and/or modified under the terms
+% of the GNU Public License, version 2.
+
+\DeclareOptionBeamer{stillsansserifmath}[]{\def\mathfamilydefault{\sfdefault}\beamer@sansmathtrue}
+\DeclareOptionBeamer{stillsansserifsmall}[]{\def\beamer@tsfont{\sffamily}}
+\DeclareOptionBeamer{stillsansseriflarge}[]{\def\beamer@sfont{\sffamily}}
+\DeclareOptionBeamer{stillsansseriftext}[]{\def\familydefault{\sfdefault}}
+
+\DeclareOptionBeamer{onlymath}[]{
+ \def\beamer@tsfont{\sffamily}
+ \def\beamer@sfont{\sffamily}
+ \def\familydefault{\sfdefault}
+}
+
+\def\beamer@tsfont{\rmfamily}
+\def\beamer@sfont{\rmfamily}
+\def\familydefault{\rmdefault}
+\def\mathfamilydefault{\rmdefault}
+\beamer@sansmathfalse
+
+\ProcessOptionsBeamer
+
+\setbeamerfont{tiny structure}{family=\beamer@tsfont}
+\setbeamerfont{structure}{family=\beamer@sfont}