slides/beamerthemeplaincu.sty
changeset 71 be5353ce1865
equal deleted inserted replaced
70:3e2f7e6e449a 71:be5353ce1865
       
     1 %%\Providespackage{beamerthemeplainculight}[2003/11/07 ver 0.93]
       
     2 \NeedsTeXFormat{LaTeX2e}[1995/12/01]
       
     3 
       
     4 % Copyright 2003 by Till Tantau <tantau@cs.tu-berlin.de>.
       
     5 %
       
     6 % This program can be redistributed and/or modified under the terms
       
     7 % of the LaTeX Project Public License Distributed from CTAN
       
     8 % archives in directory macros/latex/base/lppl.txt.
       
     9  
       
    10 \newcommand{\slidecaption}{}
       
    11 
       
    12 \mode<presentation>
       
    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 
       
    29 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
       
    30 % comic fonts fonts
       
    31 %\DeclareFontFamily{T1}{comic}{}%
       
    32 %\DeclareFontShape{T1}{comic}{m}{n}{<->s*[.9]comic8t}{}%
       
    33 %\DeclareFontShape{T1}{comic}{m}{it}{<->s*[.9]comic8t}{}%
       
    34 %\DeclareFontShape{T1}{comic}{m}{sc}{<->s*[.9]comic8t}{}%
       
    35 %\DeclareFontShape{T1}{comic}{b}{n}{<->s*[.9]comicbd8t}{}%
       
    36 %\DeclareFontShape{T1}{comic}{b}{it}{<->s*[.9]comicbd8t}{}%
       
    37 %\DeclareFontShape{T1}{comic}{m}{sl}{<->ssub * comic/m/it}{}%
       
    38 %\DeclareFontShape{T1}{comic}{b}{sc}{<->sub * comic/m/sc}{}%
       
    39 %\DeclareFontShape{T1}{comic}{b}{sl}{<->ssub * comic/b/it}{}%
       
    40 %\DeclareFontShape{T1}{comic}{bx}{n}{<->ssub * comic/b/n}{}%
       
    41 %\DeclareFontShape{T1}{comic}{bx}{it}{<->ssub * comic/b/it}{}%
       
    42 %\DeclareFontShape{T1}{comic}{bx}{sc}{<->sub * comic/m/sc}{}%
       
    43 %\DeclareFontShape{T1}{comic}{bx}{sl}{<->ssub * comic/b/it}{}%
       
    44 %
       
    45 %\renewcommand{\rmdefault}{comic}%
       
    46 %\renewcommand{\sfdefault}{comic}%
       
    47 \renewcommand{\mathfamilydefault}{cmr}% mathfont should be still the old one
       
    48 %
       
    49 \DeclareMathVersion{bold}% mathfont needs to be bold
       
    50 \DeclareSymbolFont{operators}{OT1}{cmr}{b}{n}%
       
    51 \SetSymbolFont{operators}{bold}{OT1}{cmr}{b}{n}%
       
    52 \DeclareSymbolFont{letters}{OML}{cmm}{b}{it}%
       
    53 \SetSymbolFont{letters}{bold}{OML}{cmm}{b}{it}%
       
    54 \DeclareSymbolFont{symbols}{OMS}{cmsy}{b}{n}%
       
    55 \SetSymbolFont{symbols}{bold}{OMS}{cmsy}{b}{n}%
       
    56 \DeclareSymbolFont{largesymbols}{OMX}{cmex}{b}{n}%
       
    57 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
       
    58 
       
    59 
       
    60 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
       
    61 % Frametitles
       
    62 
       
    63 \setbeamerfont{frametitle}{size={\LARGE}}
       
    64 \setbeamerfont{frametitle}{family={\fontspec{Hoefler Text Black}}}
       
    65 %\setbeamerfont{frametitle}{family={\usefont{T1}{ptm}{b}{n}}
       
    66 \setbeamercolor{frametitle}{fg=ProcessBlue,bg=white}
       
    67 
       
    68 \setbeamertemplate{frametitle}{%
       
    69 \vskip 2mm  % distance from the top margin
       
    70 \hskip -3mm % distance from left margin
       
    71 \vbox{%
       
    72 \begin{minipage}{1.05\textwidth}%
       
    73 \centering%
       
    74 \insertframetitle%
       
    75 \end{minipage}}%
       
    76 }
       
    77 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
       
    78 
       
    79 
       
    80 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
       
    81 % Foot
       
    82 %
       
    83 \setbeamertemplate{navigation symbols}{} 
       
    84 \usefoottemplate{%
       
    85 \vbox{%
       
    86   \tinyline{%
       
    87     \tiny\hfill\textcolor{gray!50}{\slidecaption{} --
       
    88       p.~\insertframenumber/\inserttotalframenumber}}}%
       
    89 }
       
    90 
       
    91 
       
    92 
       
    93 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
       
    94 \beamertemplateballitem
       
    95 \setlength\leftmargini{2mm}
       
    96 \setlength\leftmarginii{0.6cm}
       
    97 \setlength\leftmarginiii{1.5cm}
       
    98 
       
    99 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
       
   100 % blocks
       
   101 %\definecolor{cream}{rgb}{1,1,.65}
       
   102 \definecolor{cream}{rgb}{1,1,.8}
       
   103 \setbeamerfont{block title}{size=\normalsize}
       
   104 \setbeamercolor{block title}{fg=black,bg=cream}
       
   105 \setbeamercolor{block body}{fg=black,bg=cream}
       
   106 
       
   107 \setbeamertemplate{blocks}[rounded][shadow=true]
       
   108 
       
   109 \setbeamercolor{boxcolor}{fg=black,bg=cream}
       
   110 
       
   111 \mode
       
   112 <all>
       
   113 
       
   114 
       
   115 
       
   116 
       
   117 
       
   118