slides.sty
changeset 160 4cbd6ca025e6
child 189 9961bbb8c8af
equal deleted inserted replaced
159:77cf0362b87a 160:4cbd6ca025e6
       
     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 \definecolor{darkblue}{rgb}{0,0,0.6}
       
    13 \hypersetup{colorlinks=true}
       
    14 \hypersetup{linkcolor=darkblue}
       
    15 \hypersetup{urlcolor=darkblue}
       
    16 
       
    17 
       
    18 
       
    19 \newcommand{\tttext}[1]{{\consolas{#1}}}
       
    20 
       
    21 \newcommand{\dn}{\stackrel{\mbox{\scriptsize def}}{=}}%
       
    22 \newcommand{\slidecaption}{}
       
    23 
       
    24 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
       
    25 % Frametitles
       
    26 
       
    27 \setbeamerfont{frametitle}{size={\LARGE}}
       
    28 \setbeamerfont{frametitle}{family={\fontspec{Hoefler Text Black}}}
       
    29 \setbeamercolor{frametitle}{fg=ProcessBlue,bg=white}
       
    30 
       
    31 \setbeamertemplate{frametitle}{%
       
    32 \vskip 2mm  % distance from the top margin
       
    33 \hskip -3mm % distance from left margin
       
    34 \vbox{%
       
    35 \begin{minipage}{1.05\textwidth}%
       
    36 \centering%
       
    37 \begin{tabular}{@{}c@{}}%
       
    38 \insertframetitle%
       
    39 \end{tabular}%
       
    40 \end{minipage}}%
       
    41 }
       
    42 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
       
    43 
       
    44 
       
    45 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
       
    46 % Foot
       
    47 %
       
    48 \setbeamertemplate{navigation symbols}{} 
       
    49 \usefoottemplate{%
       
    50 \vbox{%
       
    51   \tinyline{%
       
    52     \tiny\hfill\textcolor{gray!50}{\slidecaption{} --
       
    53       p.~\insertframenumber/\inserttotalframenumber}}}%
       
    54 }
       
    55 
       
    56 
       
    57 
       
    58 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
       
    59 \beamertemplateballitem
       
    60 \setlength\leftmargini{2mm}
       
    61 \setlength\leftmarginii{0.6cm}
       
    62 \setlength\leftmarginiii{1.5cm}
       
    63 
       
    64 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
       
    65 % blocks
       
    66 %\definecolor{cream}{rgb}{1,1,.65}
       
    67 \definecolor{cream}{rgb}{1,1,.8}
       
    68 \setbeamerfont{block title}{size=\normalsize}
       
    69 \setbeamercolor{block title}{fg=black,bg=cream}
       
    70 \setbeamercolor{block body}{fg=black,bg=cream}
       
    71 
       
    72 \setbeamertemplate{blocks}[rounded][shadow=true]
       
    73 
       
    74 \setbeamercolor{boxcolor}{fg=black,bg=cream}
       
    75 
       
    76 \mode
       
    77 <all>
       
    78 
       
    79 
       
    80 
       
    81 
       
    82 
       
    83