Slides/document/beamerthemeplaincu.sty
changeset 20 b56616fd88dd
parent 5 0f2d4b78f839
equal deleted inserted replaced
19:3cc70bd49588 20:b56616fd88dd
     9  
     9  
    10 \newcommand{\slidecaption}{}
    10 \newcommand{\slidecaption}{}
    11 
    11 
    12 \mode<presentation>
    12 \mode<presentation>
    13 
    13 
       
    14 \usepackage{fontspec}
       
    15 \usefonttheme{serif}
       
    16 \defaultfontfeatures{Ligatures=TeX}
       
    17 \setromanfont{Hoefler Text}
       
    18 \setmonofont[Scale=MatchLowercase]{Consolas}
       
    19 \newfontfamily{\consolas}{Consolas}
       
    20 \newcommand{\tttext}[1]{{\consolas{#1}}}
       
    21 %%\setttfont{Lucida Console}
       
    22 %%\setmainfont[Mapping=tex-text]{Hoefler Text}
       
    23 
       
    24 %%\renewcommand\ttdefault{lmtt}
       
    25 
       
    26 
       
    27 
       
    28 
    14 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    29 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    15 % comic fonts fonts
    30 % comic fonts fonts
    16 \DeclareFontFamily{T1}{comic}{}%
    31 %\DeclareFontFamily{T1}{comic}{}%
    17 \DeclareFontShape{T1}{comic}{m}{n}{<->s*[.9]comic8t}{}%
    32 %\DeclareFontShape{T1}{comic}{m}{n}{<->s*[.9]comic8t}{}%
    18 \DeclareFontShape{T1}{comic}{m}{it}{<->s*[.9]comic8t}{}%
    33 %\DeclareFontShape{T1}{comic}{m}{it}{<->s*[.9]comic8t}{}%
    19 \DeclareFontShape{T1}{comic}{m}{sc}{<->s*[.9]comic8t}{}%
    34 %\DeclareFontShape{T1}{comic}{m}{sc}{<->s*[.9]comic8t}{}%
    20 \DeclareFontShape{T1}{comic}{b}{n}{<->s*[.9]comicbd8t}{}%
    35 %\DeclareFontShape{T1}{comic}{b}{n}{<->s*[.9]comicbd8t}{}%
    21 \DeclareFontShape{T1}{comic}{b}{it}{<->s*[.9]comicbd8t}{}%
    36 %\DeclareFontShape{T1}{comic}{b}{it}{<->s*[.9]comicbd8t}{}%
    22 \DeclareFontShape{T1}{comic}{m}{sl}{<->ssub * comic/m/it}{}%
    37 %\DeclareFontShape{T1}{comic}{m}{sl}{<->ssub * comic/m/it}{}%
    23 \DeclareFontShape{T1}{comic}{b}{sc}{<->sub * comic/m/sc}{}%
    38 %\DeclareFontShape{T1}{comic}{b}{sc}{<->sub * comic/m/sc}{}%
    24 \DeclareFontShape{T1}{comic}{b}{sl}{<->ssub * comic/b/it}{}%
    39 %\DeclareFontShape{T1}{comic}{b}{sl}{<->ssub * comic/b/it}{}%
    25 \DeclareFontShape{T1}{comic}{bx}{n}{<->ssub * comic/b/n}{}%
    40 %\DeclareFontShape{T1}{comic}{bx}{n}{<->ssub * comic/b/n}{}%
    26 \DeclareFontShape{T1}{comic}{bx}{it}{<->ssub * comic/b/it}{}%
    41 %\DeclareFontShape{T1}{comic}{bx}{it}{<->ssub * comic/b/it}{}%
    27 \DeclareFontShape{T1}{comic}{bx}{sc}{<->sub * comic/m/sc}{}%
    42 %\DeclareFontShape{T1}{comic}{bx}{sc}{<->sub * comic/m/sc}{}%
    28 \DeclareFontShape{T1}{comic}{bx}{sl}{<->ssub * comic/b/it}{}%
    43 %\DeclareFontShape{T1}{comic}{bx}{sl}{<->ssub * comic/b/it}{}%
    29 %
    44 %
    30 \renewcommand{\rmdefault}{comic}%
    45 %\renewcommand{\rmdefault}{comic}%
    31 \renewcommand{\sfdefault}{comic}%
    46 %\renewcommand{\sfdefault}{comic}%
    32 \renewcommand{\mathfamilydefault}{cmr}% mathfont should be still the old one
    47 \renewcommand{\mathfamilydefault}{cmr}% mathfont should be still the old one
    33 %
    48 %
    34 \DeclareMathVersion{bold}% mathfont needs to be bold
    49 \DeclareMathVersion{bold}% mathfont needs to be bold
    35 \DeclareSymbolFont{operators}{OT1}{cmr}{b}{n}%
    50 \DeclareSymbolFont{operators}{OT1}{cmr}{b}{n}%
    36 \SetSymbolFont{operators}{bold}{OT1}{cmr}{b}{n}%
    51 \SetSymbolFont{operators}{bold}{OT1}{cmr}{b}{n}%
    42 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    57 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    43 
    58 
    44 
    59 
    45 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    60 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    46 % Frametitles
    61 % Frametitles
       
    62 
    47 \setbeamerfont{frametitle}{size={\LARGE}}
    63 \setbeamerfont{frametitle}{size={\LARGE}}
    48 \setbeamerfont{frametitle}{family={\usefont{T1}{ptm}{b}{n}}}
    64 \setbeamerfont{frametitle}{family={\fontspec{Hoefler Text Black}}}
       
    65 %\setbeamerfont{frametitle}{family={\usefont{T1}{ptm}{b}{n}}
    49 \setbeamercolor{frametitle}{fg=ProcessBlue,bg=white}
    66 \setbeamercolor{frametitle}{fg=ProcessBlue,bg=white}
    50 
    67 
    51 \setbeamertemplate{frametitle}{%
    68 \setbeamertemplate{frametitle}{%
    52 \vskip 2mm  % distance from the top margin
    69 \vskip 2mm  % distance from the top margin
    53 \hskip -3mm % distance from left margin
    70 \hskip -3mm % distance from left margin