Slides/slides.sty
changeset 103 ffe5d850df62
equal deleted inserted replaced
102:7f589bfecffa 103:ffe5d850df62
       
     1 \usepackage[absolute,overlay]{textpos}
       
     2 \usepackage{xcolor}
       
     3 \usepackage{fontspec}
       
     4 \usepackage[sc]{mathpazo}
       
     5 \usefonttheme{serif}
       
     6 \defaultfontfeatures{Ligatures=TeX}
       
     7 \defaultfontfeatures{Mapping=tex-text}
       
     8 \setromanfont{Hoefler Text}
       
     9 \setmonofont[Scale=.88]{Consolas}
       
    10 \newfontfamily{\consolas}{Consolas}
       
    11 
       
    12 
       
    13 \definecolor{darkblue}{rgb}{0,0,0.6}
       
    14 \hypersetup{colorlinks=true}
       
    15 \hypersetup{linkcolor=darkblue}
       
    16 \hypersetup{urlcolor=darkblue}
       
    17 
       
    18 
       
    19 
       
    20 \newcommand{\tttext}[1]{{\consolas{#1}}}
       
    21 
       
    22 \newcommand{\dn}{\stackrel{\mbox{\scriptsize def}}{=}}%
       
    23 \newcommand{\slidecaption}{}
       
    24 
       
    25 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
       
    26 % Frametitles
       
    27 
       
    28 \setbeamerfont{frametitle}{size={\LARGE}}
       
    29 \setbeamerfont{frametitle}{family={\fontspec{Hoefler Text Black}}}
       
    30 \setbeamercolor{frametitle}{fg=ProcessBlue,bg=white}
       
    31 
       
    32 \setbeamertemplate{frametitle}{%
       
    33 \vskip 2mm  % distance from the top margin
       
    34 \hskip -3mm % distance from left margin
       
    35 \vbox{%
       
    36 \begin{minipage}{1.05\textwidth}%
       
    37 \centering%
       
    38 \begin{tabular}{@{}c@{}}%
       
    39 \insertframetitle%
       
    40 \end{tabular}%
       
    41 \end{minipage}\vspace{-10pt}}%
       
    42 }
       
    43 
       
    44 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
       
    45 
       
    46 
       
    47 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
       
    48 % Foot
       
    49 %
       
    50 \setbeamertemplate{navigation symbols}{} 
       
    51 \usefoottemplate{%
       
    52 \vbox{%
       
    53   \tinyline{%
       
    54     \tiny\hfill\textcolor{gray!50}{\slidecaption{} --
       
    55       p.~\insertframenumber/\inserttotalframenumber}}}%
       
    56 }
       
    57 
       
    58 
       
    59 
       
    60 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
       
    61 \beamertemplateballitem
       
    62 \setlength\leftmargini{2mm}
       
    63 \setlength\leftmarginii{0.6cm}
       
    64 \setlength\leftmarginiii{1.5cm}
       
    65 \setbeamertemplate{itemize/enumerate body end}{\vspace{-2mm}}
       
    66 
       
    67 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
       
    68 % blocks
       
    69 %\definecolor{cream}{rgb}{1,1,.65}
       
    70 \definecolor{cream}{rgb}{1,1,.8}
       
    71 \setbeamerfont{block title}{size=\normalsize}
       
    72 \setbeamercolor{block title}{fg=black,bg=cream}
       
    73 \setbeamercolor{block body}{fg=black,bg=cream}
       
    74 
       
    75 \setbeamertemplate{blocks}[rounded][shadow=true]
       
    76 
       
    77 \setbeamercolor{boxcolor}{fg=black,bg=cream}
       
    78 
       
    79 \mode
       
    80 <all>
       
    81 
       
    82 
       
    83 
       
    84 
       
    85 
       
    86