<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">% Copyright 2007 by Till Tantau
%
% This file may be distributed and/or modified
%
% 1. under the LaTeX Project Public License and/or
% 2. under the GNU Public License.
%
% See the file doc/licenses/LICENSE for more details.


\ProvidesPackageRCS $Header: /cvsroot/latex-beamer/latex-beamer/base/beamerbasefont.sty,v 1.16 2007/01/28 20:48:21 tantau Exp $


\mode&lt;presentation&gt;


%
% Font theme stuff
%

\define@key{beamerthm}{size}
  {\expandafter\def\csname beamer@thmfsize@\beamer@temp\endcsname{#1}}
\define@key{beamerthm}{size*}
  {\expandafter\def\csname beamer@thmfsize@\beamer@temp\endcsname{\fontsize#1}}
\define@key{beamerthm}{shape}
  {\expandafter\def\csname beamer@thmfshape@\beamer@temp\endcsname{#1}}
\define@key{beamerthm}{shape*}
  {\expandafter\def\csname beamer@thmfshape@\beamer@temp\endcsname{\fontshape{#1}}}
\define@key{beamerthm}{series}
  {\expandafter\def\csname beamer@thmfseries@\beamer@temp\endcsname{#1}}
\define@key{beamerthm}{series*}
  {\expandafter\def\csname beamer@thmfseries@\beamer@temp\endcsname{\fontseries{#1}}}
\define@key{beamerthm}{family}
  {\expandafter\def\csname beamer@thmffamily@\beamer@temp\endcsname{#1}}
\define@key{beamerthm}{family*}
  {\expandafter\def\csname beamer@thmffamily@\beamer@temp\endcsname{\fontfamily{#1}}}
\define@key{beamerthm}{parent}
  {\expandafter\def\csname beamer@thmfinherits@\beamer@temp\endcsname{%
    \@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={}}
  \setkeys{beamerthm}{#2}
}
\newcommand\beamer@setbeamerfont[2]{%
  \def\beamer@temp{#1}
  \setkeys{beamerthm}{#2}
}

\def\usebeamerfont{\@ifstar{\reset@font\beamer@usebeamerfont}{\beamer@usebeamerfont}}

\newcommand\beamer@usebeamerfont[1]{%
  \csname beamer@thmfinherits@#1\endcsname%
  \csname beamer@thmfsize@#1\endcsname%
  \csname beamer@thmfshape@#1\endcsname%
  \csname beamer@thmfseries@#1\endcsname%
  \csname beamer@thmffamily@#1\endcsname%
  \selectfont}



%
% 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}%
  {&lt;5&gt;&lt;6&gt;&lt;7&gt;&lt;8&gt;&lt;9&gt;&lt;10&gt;&lt;10.95&gt;&lt;12&gt;&lt;14.4&gt;%
   &lt;17.28&gt;&lt;20.74&gt;&lt;24.88&gt;&lt;29.86&gt;&lt;35.83&gt;&lt;42.99&gt;&lt;51.59&gt;genb*#5}{}}
\EC@family{T1}{cmr}{m}{n}{ecrm}
\EC@family{T1}{cmr}{m}{sl}{ecsl}
\EC@family{T1}{cmr}{m}{it}{ecti}
\EC@family{T1}{cmr}{m}{sc}{eccc}
\EC@family{T1}{cmr}{bx}{n}{ecbx}
\EC@family{T1}{cmr}{b}{n}{ecrb}
\EC@family{T1}{cmr}{bx}{it}{ecbi}
\EC@family{T1}{cmr}{bx}{sl}{ecbl}
\EC@family{T1}{cmr}{bx}{sc}{ecxc}
\EC@family{T1}{cmr}{m}{ui}{ecui}
\DeclareFontShape{OT1}{cmr}{m}{n}%
     {&lt;5&gt;&lt;6&gt;&lt;7&gt;&lt;8&gt;&lt;9&gt;&lt;10&gt;&lt;12&gt;gen*cmr%
      &lt;10.95&gt;cmr10%
      &lt;14.4&gt;cmr12%
      &lt;17.28&gt;&lt;20.74&gt;&lt;24.88&gt;&lt;29.86&gt;&lt;35.83&gt;&lt;42.99&gt;&lt;51.59&gt;cmr17}{}
\DeclareFontShape{OT1}{cmr}{m}{sl}%
     {&lt;5&gt;&lt;6&gt;&lt;7&gt;cmsl8%
      &lt;8&gt;&lt;9&gt;gen*cmsl%
      &lt;10&gt;&lt;10.95&gt;cmsl10%
      &lt;12&gt;&lt;14.4&gt;&lt;17.28&gt;&lt;20.74&gt;&lt;24.88&gt;&lt;29.86&gt;&lt;35.83&gt;&lt;42.99&gt;&lt;51.59&gt;cmsl12%
      }{}
\DeclareFontShape{OT1}{cmr}{m}{it}%
     {&lt;5&gt;&lt;6&gt;&lt;7&gt;cmti7%
      &lt;8&gt;cmti8%
      &lt;9&gt;cmti9%
      &lt;10&gt;&lt;10.95&gt;cmti10%
      &lt;12&gt;&lt;14.4&gt;&lt;17.28&gt;&lt;20.74&gt;&lt;24.88&gt;&lt;29.86&gt;&lt;35.83&gt;&lt;42.99&gt;&lt;51.59&gt;cmti12%
      }{}
\DeclareFontShape{OT1}{cmr}{m}{sc}%
     {&lt;5&gt;&lt;6&gt;&lt;7&gt;&lt;8&gt;&lt;9&gt;&lt;10&gt;&lt;10.95&gt;&lt;12&gt;%
      &lt;14.4&gt;&lt;17.28&gt;&lt;20.74&gt;&lt;24.88&gt;&lt;29.86&gt;&lt;35.83&gt;&lt;42.99&gt;&lt;51.59&gt;cmcsc10%
      }{}
\DeclareFontShape{OT1}{cmr}{m}{ui}
   {&lt;5&gt;&lt;6&gt;&lt;7&gt;&lt;8&gt;&lt;9&gt;&lt;10&gt;&lt;10.95&gt;&lt;12&gt;%
      &lt;14.4&gt;&lt;17.28&gt;&lt;20.74&gt;&lt;24.88&gt;&lt;29.86&gt;&lt;35.83&gt;&lt;42.99&gt;&lt;51.59&gt;cmu10%
      }{}
\DeclareFontShape{OT1}{cmr}{b}{n}
     {&lt;5&gt;&lt;6&gt;&lt;7&gt;&lt;8&gt;&lt;9&gt;&lt;10&gt;&lt;10.95&gt;&lt;12&gt;%
      &lt;14.4&gt;&lt;17.28&gt;&lt;20.74&gt;&lt;24.88&gt;&lt;29.86&gt;&lt;35.83&gt;&lt;42.99&gt;&lt;51.59&gt;cmb10%
      }{}
\DeclareFontShape{OT1}{cmr}{bx}{n}
   {&lt;5&gt;&lt;6&gt;&lt;7&gt;&lt;8&gt;&lt;9&gt;gen*cmbx%
      &lt;10&gt;&lt;10.95&gt;cmbx10%
      &lt;12&gt;&lt;14.4&gt;&lt;17.28&gt;&lt;20.74&gt;&lt;24.88&gt;&lt;29.86&gt;&lt;35.83&gt;&lt;42.99&gt;&lt;51.59&gt;cmbx12%
      }{}
\DeclareFontShape{OT1}{cmr}{bx}{sl}
      {&lt;5&gt;&lt;6&gt;&lt;7&gt;&lt;8&gt;&lt;9&gt;%
      &lt;10&gt;&lt;10.95&gt;&lt;12&gt;&lt;14.4&gt;&lt;17.28&gt;&lt;20.74&gt;&lt;24.88&gt;&lt;29.86&gt;&lt;35.83&gt;&lt;42.99&gt;&lt;51.59&gt;cmbxsl10%
      }{}
\DeclareFontShape{OT1}{cmr}{bx}{it}
      {&lt;5&gt;&lt;6&gt;&lt;7&gt;&lt;8&gt;&lt;9&gt;%
      &lt;10&gt;&lt;10.95&gt;&lt;12&gt;&lt;14.4&gt;&lt;17.28&gt;&lt;20.74&gt;&lt;24.88&gt;&lt;29.86&gt;&lt;35.83&gt;&lt;42.99&gt;&lt;51.59&gt;cmbxti10%
    }{}
\DeclareFontFamily{T1}{cmss}{}
\EC@family{T1}{cmss}{m}{n}{ecss}
\EC@family{T1}{cmss}{m}{sl}{ecsi}
\EC@family{T1}{cmss}{m}{it}{ecsi}
\EC@family{T1}{cmss}{bx}{n}{ecsx}
\EC@family{T1}{cmss}{bx}{it}{ecso}
\EC@family{T1}{cmss}{bx}{sl}{ecso}
\DeclareFontShape{T1}{cmss}{sbc}{n}{%
      &lt;5&gt;&lt;6&gt;&lt;7&gt;&lt;8&gt;&lt;9&gt;&lt;10&gt;&lt;10.95&gt;&lt;12&gt;&lt;14.4&gt;&lt;17.28&gt;%
      &lt;20.74&gt;&lt;24.88&gt;&lt;29.86&gt;&lt;35.83&gt;&lt;42.99&gt;&lt;51.59&gt;%
      ecssdc10
       }{}
\DeclareFontShape{OT1}{cmss}{m}{n}
     {%
      &lt;5&gt;&lt;6&gt;&lt;7&gt;&lt;8&gt;cmss8%
      &lt;9&gt;cmss9%
      &lt;10&gt;&lt;10.95&gt;cmss10%
      &lt;12&gt;&lt;14.4&gt;cmss12%
      &lt;17.28&gt;&lt;20.74&gt;&lt;24.88&gt;&lt;29.86&gt;&lt;35.83&gt;&lt;42.99&gt;&lt;51.59&gt;cmss17%
      }{}
\DeclareFontShape{OT1}{cmss}{m}{sl}
    {%
      &lt;5&gt;&lt;6&gt;&lt;7&gt;&lt;8&gt;cmssi8&lt;9&gt;cmssi9%
      &lt;10&gt;&lt;10.95&gt;cmssi10%
      &lt;12&gt;&lt;14.4&gt;cmssi12%
      &lt;17.28&gt;&lt;20.74&gt;&lt;24.88&gt;&lt;29.86&gt;&lt;35.83&gt;&lt;42.99&gt;&lt;51.59&gt;cmssi17%
      }{}
\DeclareFontShape{OT1}{cmss}{m}{it}
    {%
      &lt;5&gt;&lt;6&gt;&lt;7&gt;&lt;8&gt;cmssi8&lt;9&gt;cmssi9%
      &lt;10&gt;&lt;10.95&gt;cmssi10%
      &lt;12&gt;&lt;14.4&gt;cmssi12%
      &lt;17.28&gt;&lt;20.74&gt;&lt;24.88&gt;&lt;29.86&gt;&lt;35.83&gt;&lt;42.99&gt;&lt;51.59&gt;cmssi17%
      }{}
\DeclareFontShape{OT1}{cmss}{sbc}{n}
     {%
      &lt;5&gt;&lt;6&gt;&lt;7&gt;&lt;8&gt;&lt;9&gt;cmssdc10%
       &lt;10&gt;&lt;10.95&gt;&lt;12&gt;&lt;14.4&gt;&lt;17.28&gt;&lt;20.74&gt;&lt;24.88&gt;&lt;29.86&gt;&lt;35.83&gt;&lt;42.99&gt;&lt;51.59&gt;cmssdc10%
       }{}
\DeclareFontShape{OT1}{cmss}{bx}{n}
     {%
      &lt;5&gt;&lt;6&gt;&lt;7&gt;&lt;8&gt;&lt;9&gt;cmssbx10%
      &lt;10&gt;&lt;10.95&gt;&lt;12&gt;&lt;14.4&gt;&lt;17.28&gt;&lt;20.74&gt;&lt;24.88&gt;&lt;29.86&gt;&lt;35.83&gt;&lt;42.99&gt;&lt;51.59&gt;cmssbx10%
      }{}



      

  
\AtBeginDocument{%
\def\beamer@cmr{cmr}
\edef\beamer@fmdef{\mathfamilydefault}

% supress for standard cm
\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{mathpmnt}{\ifbeamer@sansmath\else\beamer@suppressreplacementstrue\fi}{}
\@ifpackageloaded{mathpple}{\ifbeamer@sansmath\else\beamer@suppressreplacementstrue\fi}{}
\@ifpackageloaded{lucidabr}{\ifbeamer@sansmath\else\beamer@suppressreplacementstrue\fi}{}
\@ifpackageloaded{mtpro}{\ifbeamer@sansmath\else\beamer@suppressreplacementstrue\fi}{}
\@ifpackageloaded{hvmath}{\ifbeamer@sansmath\else\beamer@suppressreplacementstrue\fi}{}

\ifbeamer@suppressreplacements\else
  \ifbeamer@sansmath
    \SetSymbolFont{operators}{normal}{OT1}{cmss}{m}{n}
    \ifx\mv@bold\@undefined
    \else
      \SetSymbolFont{operators}{bold}{OT1}{cmss}{bx}{n}
    \fi
  \fi
  \DeclareSymbolFont{numbers}{\encodingdefault}{\mathfamilydefault}{m}{n}
  \DeclareSymbolFont{pureletters}{\encodingdefault}{\mathfamilydefault}{m}{it}
  \SetMathAlphabet{\mathrm}{normal}{\encodingdefault}{\rmdefault}{m}{n}
  \DeclareMathAlphabet{\mathbf}{\encodingdefault}{\mathfamilydefault}{bx}{n}
  \DeclareMathAlphabet{\mathsf}{\encodingdefault}{\sfdefault}{m}{n}
  \DeclareMathAlphabet{\mathit}{\encodingdefault}{\mathfamilydefault}{m}{it}
  \DeclareMathAlphabet{\mathtt}{\encodingdefault}{\ttdefault}{m}{n}
  \ifx\mv@bold\@undefined\else
  \SetSymbolFont{numbers}{bold}{\encodingdefault}{\mathfamilydefault}{bx}{n}
  \SetSymbolFont{pureletters}{bold}{\encodingdefault}{\mathfamilydefault}{bx}{it}
  \SetMathAlphabet{\mathrm}{bold}{\encodingdefault}{\rmdefault}{bx}{n}
  \SetMathAlphabet{\mathbf}{bold}{\encodingdefault}{\mathfamilydefault}{bx}{n}
  \SetMathAlphabet{\mathsf}{bold}{\encodingdefault}{\sfdefault}{bx}{n}
  \SetMathAlphabet{\mathit}{bold}{\encodingdefault}{\mathfamilydefault}{bx}{it}
  \SetMathAlphabet{\mathtt}{bold}{\encodingdefault}{\ttdefault}{bx}{n}
  \fi

  \def\operator@font{\mathgroup\symnumbers}

  \DeclareMathSymbol{0}\mathalpha{numbers}{"30}
  \DeclareMathSymbol{1}\mathalpha{numbers}{"31}
  \DeclareMathSymbol{2}\mathalpha{numbers}{"32}
  \DeclareMathSymbol{3}\mathalpha{numbers}{"33}
  \DeclareMathSymbol{4}\mathalpha{numbers}{"34}
  \DeclareMathSymbol{5}\mathalpha{numbers}{"35}
  \DeclareMathSymbol{6}\mathalpha{numbers}{"36}
  \DeclareMathSymbol{7}\mathalpha{numbers}{"37}
  \DeclareMathSymbol{8}\mathalpha{numbers}{"38}
  \DeclareMathSymbol{9}\mathalpha{numbers}{"39}

  \DeclareMathSymbol{A}\mathalpha{pureletters}{"41}
  \DeclareMathSymbol{B}\mathalpha{pureletters}{"42}
  \DeclareMathSymbol{C}\mathalpha{pureletters}{"43}
  \DeclareMathSymbol{D}\mathalpha{pureletters}{"44}
  \DeclareMathSymbol{E}\mathalpha{pureletters}{"45}
  \DeclareMathSymbol{F}\mathalpha{pureletters}{"46}
  \DeclareMathSymbol{G}\mathalpha{pureletters}{"47}
  \DeclareMathSymbol{H}\mathalpha{pureletters}{"48}
  \DeclareMathSymbol{I}\mathalpha{pureletters}{"49}
  \DeclareMathSymbol{J}\mathalpha{pureletters}{"4A}
  \DeclareMathSymbol{K}\mathalpha{pureletters}{"4B}
  \DeclareMathSymbol{L}\mathalpha{pureletters}{"4C}
  \DeclareMathSymbol{M}\mathalpha{pureletters}{"4D}
  \DeclareMathSymbol{N}\mathalpha{pureletters}{"4E}
  \DeclareMathSymbol{O}\mathalpha{pureletters}{"4F}
  \DeclareMathSymbol{P}\mathalpha{pureletters}{"50}
  \DeclareMathSymbol{Q}\mathalpha{pureletters}{"51}
  \DeclareMathSymbol{R}\mathalpha{pureletters}{"52}
  \DeclareMathSymbol{S}\mathalpha{pureletters}{"53}
  \DeclareMathSymbol{T}\mathalpha{pureletters}{"54}
  \DeclareMathSymbol{U}\mathalpha{pureletters}{"55}
  \DeclareMathSymbol{V}\mathalpha{pureletters}{"56}
  \DeclareMathSymbol{W}\mathalpha{pureletters}{"57}
  \DeclareMathSymbol{X}\mathalpha{pureletters}{"58}
  \DeclareMathSymbol{Y}\mathalpha{pureletters}{"59}
  \DeclareMathSymbol{Z}\mathalpha{pureletters}{"5A}

  \DeclareMathSymbol{a}\mathalpha{pureletters}{"61}
  \DeclareMathSymbol{b}\mathalpha{pureletters}{"62}
  \DeclareMathSymbol{c}\mathalpha{pureletters}{"63}
  \DeclareMathSymbol{d}\mathalpha{pureletters}{"64}
  \DeclareMathSymbol{e}\mathalpha{pureletters}{"65}
  \DeclareMathSymbol{f}\mathalpha{pureletters}{"66}
  \DeclareMathSymbol{g}\mathalpha{pureletters}{"67}
  \DeclareMathSymbol{h}\mathalpha{pureletters}{"68}
  \DeclareMathSymbol{i}\mathalpha{pureletters}{"69}
  \DeclareMathSymbol{j}\mathalpha{pureletters}{"6A}
  \DeclareMathSymbol{k}\mathalpha{pureletters}{"6B}
  \DeclareMathSymbol{l}\mathalpha{pureletters}{"6C}
  \DeclareMathSymbol{m}\mathalpha{pureletters}{"6D}
  \DeclareMathSymbol{n}\mathalpha{pureletters}{"6E}
  \DeclareMathSymbol{o}\mathalpha{pureletters}{"6F}
  \DeclareMathSymbol{p}\mathalpha{pureletters}{"70}
  \DeclareMathSymbol{q}\mathalpha{pureletters}{"71}
  \DeclareMathSymbol{r}\mathalpha{pureletters}{"72}
  \DeclareMathSymbol{s}\mathalpha{pureletters}{"73}
  \DeclareMathSymbol{t}\mathalpha{pureletters}{"74}
  \DeclareMathSymbol{u}\mathalpha{pureletters}{"75}
  \DeclareMathSymbol{v}\mathalpha{pureletters}{"76}
  \DeclareMathSymbol{w}\mathalpha{pureletters}{"77}
  \DeclareMathSymbol{x}\mathalpha{pureletters}{"78}
  \DeclareMathSymbol{y}\mathalpha{pureletters}{"79}
  \DeclareMathSymbol{z}\mathalpha{pureletters}{"7A}
\fi
}

\DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
\DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
\DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
\DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
\DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
\DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
\DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
\DeclareRobustCommand*\cal{\@fontswitch\relax\mathcal}
\DeclareRobustCommand*\mit{\@fontswitch\relax\mathnormal}


\newcommand\Tiny{\@setfontsize\Tiny{4}{5}}
\newcommand\TINY{\@setfontsize\Tiny{3}{4}}


\mode
&lt;article&gt;
{
  \let\Tiny=\tiny
  \let\TINY=\tiny

  \newcommand\setbeamerfont{\@ifstar{\@gobbletwo}{\@gobbletwo}}
  \newcommand\usebeamerfont{\@ifstar{\beamer@optgog}{\beamer@optgog}}
}



\mode
&lt;all&gt;

%%% Local Variables: 
%%% mode: latex
%%% TeX-master: ../examples/beamerexample1.tex
%%% End: 
</pre></body></html>