slides.sty
author Christian Urban <urbanc@in.tum.de>
Mon, 14 Nov 2016 03:25:14 +0000
changeset 45 8399976b77fe
parent 21 610f7a4a9ede
child 275 eb1b4ad23941
permissions -rw-r--r--
updated

\usepackage[absolute,overlay]{textpos}
\usepackage{xcolor}
\usepackage{fontspec}
\usepackage[sc]{mathpazo}
\usefonttheme{serif}
\defaultfontfeatures{Ligatures=TeX}
\defaultfontfeatures{Mapping=tex-text}
\setromanfont{Hoefler Text}
\setmonofont[Scale=.88]{Consolas}
\newfontfamily{\consolas}{Consolas}

\definecolor{darkblue}{rgb}{0,0,0.6}
\hypersetup{colorlinks=true}
\hypersetup{linkcolor=darkblue}
\hypersetup{urlcolor=darkblue}

\newcommand{\tttext}[1]{{\consolas{#1}}}

\newcommand{\ZERO}{\mbox{\bf 0}}
\newcommand{\ONE}{\mbox{\bf 1}}
\newcommand{\Der}{\textit{Der}}
\newcommand{\der}{\textit{der}}
\newcommand{\Ders}{\textit{Ders}}
\newcommand{\ders}{\textit{ders}}
\newcommand{\dn}{\stackrel{\mbox{\scriptsize def}}{=}}%
\newcommand{\slidecaption}{}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Frametitles

\setbeamerfont{frametitle}{size={\LARGE}}
\setbeamerfont{frametitle}{family={\fontspec{Hoefler Text Black}}}
\setbeamercolor{frametitle}{fg=ProcessBlue,bg=white}

\setbeamertemplate{frametitle}{%
\vskip 2mm  % distance from the top margin
\hskip -3mm % distance from left margin
\vbox{%
\begin{minipage}{1.05\textwidth}%
\centering%
\begin{tabular}{@{}c@{}}%
\insertframetitle%
\end{tabular}%
\end{minipage}\vspace{-10pt}}%
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Foot
%
\setbeamertemplate{navigation symbols}{} 
\usefoottemplate{%
\vbox{%
  \tinyline{%
    \tiny\hfill\textcolor{gray!50}{\slidecaption{} --
      p.~\insertframenumber/\inserttotalframenumber}}}%
}



%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\beamertemplateballitem
\setlength\leftmargini{2mm}
\setlength\leftmarginii{0.6cm}
\setlength\leftmarginiii{1.5cm}
\setbeamertemplate{itemize/enumerate body end}{\vspace{-2mm}}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% blocks
%\definecolor{cream}{rgb}{1,1,.65}
\definecolor{cream}{rgb}{1,1,.8}
\setbeamerfont{block title}{size=\normalsize}
\setbeamercolor{block title}{fg=black,bg=cream}
\setbeamercolor{block body}{fg=black,bg=cream}

\setbeamertemplate{blocks}[rounded][shadow=true]

\setbeamercolor{boxcolor}{fg=black,bg=cream}

\mode
<all>