slides.sty
author Christian Urban <urbanc@in.tum.de>
Sun, 23 Sep 2018 09:02:52 +0100
changeset 556 40e22ad45744
parent 433 c08290ee4f1f
child 559 db5cb071644d
permissions -rw-r--r--
updated
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
252
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     1
\usepackage[absolute,overlay]{textpos}
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     2
\usepackage{xcolor}
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     3
\usepackage{fontspec}
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     4
\usepackage[sc]{mathpazo}
556
40e22ad45744 updated
Christian Urban <urbanc@in.tum.de>
parents: 433
diff changeset
     5
%%\usepackage{CronosPro}
252
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     6
\usefonttheme{serif}
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     7
\defaultfontfeatures{Ligatures=TeX}
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     8
\defaultfontfeatures{Mapping=tex-text}
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     9
\setromanfont{Hoefler Text}
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    10
\setmonofont[Scale=.88]{Consolas}
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    11
\newfontfamily{\consolas}{Consolas}
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    12
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    13
\definecolor{darkblue}{rgb}{0,0,0.6}
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    14
\hypersetup{colorlinks=true}
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    15
\hypersetup{linkcolor=darkblue}
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    16
\hypersetup{urlcolor=darkblue}
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    17
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    18
\newcommand{\tttext}[1]{{\consolas{#1}}}
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    19
428
a47c4227a0c6 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 368
diff changeset
    20
\newcommand{\ZERO}{\mbox{\bf 0}}
a47c4227a0c6 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 368
diff changeset
    21
\newcommand{\ONE}{\mbox{\bf 1}}
433
c08290ee4f1f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 428
diff changeset
    22
\newcommand{\Der}{\textit{Der}}
c08290ee4f1f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 428
diff changeset
    23
\newcommand{\der}{\textit{der}}
c08290ee4f1f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 428
diff changeset
    24
\newcommand{\Ders}{\textit{Ders}}
c08290ee4f1f updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 428
diff changeset
    25
\newcommand{\ders}{\textit{ders}}
252
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    26
\newcommand{\dn}{\stackrel{\mbox{\scriptsize def}}{=}}%
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    27
\newcommand{\slidecaption}{}
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    28
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    29
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    30
% Frametitles
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    31
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    32
\setbeamerfont{frametitle}{size={\LARGE}}
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    33
\setbeamerfont{frametitle}{family={\fontspec{Hoefler Text Black}}}
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    34
\setbeamercolor{frametitle}{fg=ProcessBlue,bg=white}
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    35
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    36
\setbeamertemplate{frametitle}{%
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    37
\vskip 2mm  % distance from the top margin
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    38
\hskip -3mm % distance from left margin
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    39
\vbox{%
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    40
\begin{minipage}{1.05\textwidth}%
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    41
\centering%
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    42
\begin{tabular}{@{}c@{}}%
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    43
\insertframetitle%
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    44
\end{tabular}%
368
a9911966c0df updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 295
diff changeset
    45
\end{minipage}\vspace{-10pt}}%
252
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    46
}
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    47
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    48
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    49
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    50
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    51
% Foot
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    52
%
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    53
\setbeamertemplate{navigation symbols}{} 
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    54
\usefoottemplate{%
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    55
\vbox{%
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    56
  \tinyline{%
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    57
    \tiny\hfill\textcolor{gray!50}{\slidecaption{} --
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    58
      p.~\insertframenumber/\inserttotalframenumber}}}%
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    59
}
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    60
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    61
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    62
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    63
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    64
\beamertemplateballitem
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    65
\setlength\leftmargini{2mm}
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    66
\setlength\leftmarginii{0.6cm}
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    67
\setlength\leftmarginiii{1.5cm}
368
a9911966c0df updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 295
diff changeset
    68
\setbeamertemplate{itemize/enumerate body end}{\vspace{-2mm}}
252
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    69
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    70
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    71
% blocks
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    72
%\definecolor{cream}{rgb}{1,1,.65}
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    73
\definecolor{cream}{rgb}{1,1,.8}
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    74
\setbeamerfont{block title}{size=\normalsize}
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    75
\setbeamercolor{block title}{fg=black,bg=cream}
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    76
\setbeamercolor{block body}{fg=black,bg=cream}
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    77
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    78
\setbeamertemplate{blocks}[rounded][shadow=true]
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    79
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    80
\setbeamercolor{boxcolor}{fg=black,bg=cream}
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    81
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    82
\mode
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    83
<all>
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    84
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    85
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    86
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    87
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    88
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    89