summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/beamer/beamerbasefont.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/beamer/beamerbasefont.sty')
-rw-r--r--Master/texmf-dist/tex/latex/beamer/beamerbasefont.sty40
1 files changed, 18 insertions, 22 deletions
diff --git a/Master/texmf-dist/tex/latex/beamer/beamerbasefont.sty b/Master/texmf-dist/tex/latex/beamer/beamerbasefont.sty
index 531c3f0dcac..c25f65542b1 100644
--- a/Master/texmf-dist/tex/latex/beamer/beamerbasefont.sty
+++ b/Master/texmf-dist/tex/latex/beamer/beamerbasefont.sty
@@ -1,4 +1,5 @@
-% Copyright 2007 by Till Tantau
+% Copyright 2003--2007 by Till Tantau
+% Copyright 2010 by Vedran Mileti\'c
%
% This file may be distributed and/or modified
%
@@ -7,17 +8,19 @@
%
% See the file doc/licenses/LICENSE for more details.
+\ProvidesPackageRCS $Header: /home/vedran/bitbucket/beamer/base/beamerbasefont.sty,v cd36e8a33c6b 2010/05/10 10:36:07 rivanvx $
-\ProvidesPackageRCS $Header: /cvsroot/latex-beamer/latex-beamer/base/beamerbasefont.sty,v 1.16 2007/01/28 20:48:21 tantau Exp $
-
-
-\mode<presentation>
+\RequirePackage{amssymb}
+% For \blacktriangleright; not explicitly required by article, but can cause
+% weird situations if users find that symbols works in presentation, but not
+% in article mode.
+\mode
+<presentation>
%
% Font theme stuff
%
-
\define@key{beamerthm}{size}
{\expandafter\def\csname beamer@thmfsize@\beamer@temp\endcsname{#1}}
\define@key{beamerthm}{size*}
@@ -39,7 +42,7 @@
\@for\@temp:={#1}\do{\expandafter\usebeamerfont\expandafter{\@temp}}}}
\def\setbeamerfont{\@ifstar{\beamer@clearbeamerfont}{\beamer@setbeamerfont}}
-
+
\newcommand\beamer@clearbeamerfont[2]{%
\def\beamer@temp{#1}
\setkeys{beamerthm}{size={},shape={},series={},family={},parent={}}
@@ -61,10 +64,9 @@
\selectfont}
-
%
-% Font size stuff - redefinition for oversized fonts. Not used if
-% other packages like lmodern kick in.
+% computer modern font size stuff - redefinition for oversized fonts.
+% Not used if other packages like lmodern kick in.
%
\def\EC@family#1#2#3#4#5{%
\DeclareFontShape{#1}{#2}{#3}{#4}%
@@ -170,9 +172,6 @@
-
-
-
\AtBeginDocument{%
\def\beamer@cmr{cmr}
\edef\beamer@fmdef{\mathfamilydefault}
@@ -181,12 +180,15 @@
\ifx\beamer@fmdef\beamer@cmr\beamer@suppressreplacementstrue\fi
% supress for mathtime serif and math minion serif
-\@ifpackageloaded{mathtime}{\ifbeamer@sansmath\else\beamer@suppressreplacementstrue\fi}{}
+\@ifpackageloaded{arevmath}{\ifbeamer@sansmath\else\beamer@suppressreplacementstrue\fi}{}
+\@ifpackageloaded{hvmath}{\ifbeamer@sansmath\else\beamer@suppressreplacementstrue\fi}{}
+\@ifpackageloaded{lucidabr}{\ifbeamer@sansmath\else\beamer@suppressreplacementstrue\fi}{}
+\@ifpackageloaded{lucimatx}{\ifbeamer@sansmath\else\beamer@suppressreplacementstrue\fi}{}
\@ifpackageloaded{mathpmnt}{\ifbeamer@sansmath\else\beamer@suppressreplacementstrue\fi}{}
\@ifpackageloaded{mathpple}{\ifbeamer@sansmath\else\beamer@suppressreplacementstrue\fi}{}
-\@ifpackageloaded{lucidabr}{\ifbeamer@sansmath\else\beamer@suppressreplacementstrue\fi}{}
+\@ifpackageloaded{mathtime}{\ifbeamer@sansmath\else\beamer@suppressreplacementstrue\fi}{}
\@ifpackageloaded{mtpro}{\ifbeamer@sansmath\else\beamer@suppressreplacementstrue\fi}{}
-\@ifpackageloaded{hvmath}{\ifbeamer@sansmath\else\beamer@suppressreplacementstrue\fi}{}
+\@ifpackageloaded{mtpro2}{\ifbeamer@sansmath\else\beamer@suppressreplacementstrue\fi}{}
\ifbeamer@suppressreplacements\else
\ifbeamer@sansmath
@@ -308,11 +310,5 @@
}
-
\mode
<all>
-
-%%% Local Variables:
-%%% mode: latex
-%%% TeX-master: ../examples/beamerexample1.tex
-%%% End: