21
|
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 |
\newcommand{\tttext}[1]{{\consolas{#1}}}
|
|
18 |
|
|
19 |
\newcommand{\ZERO}{\mbox{\bf 0}}
|
|
20 |
\newcommand{\ONE}{\mbox{\bf 1}}
|
|
21 |
\newcommand{\Der}{\textit{Der}}
|
|
22 |
\newcommand{\der}{\textit{der}}
|
|
23 |
\newcommand{\Ders}{\textit{Ders}}
|
|
24 |
\newcommand{\ders}{\textit{ders}}
|
|
25 |
\newcommand{\dn}{\stackrel{\mbox{\scriptsize def}}{=}}%
|
|
26 |
\newcommand{\slidecaption}{}
|
|
27 |
|
|
28 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
29 |
% Frametitles
|
|
30 |
|
|
31 |
\setbeamerfont{frametitle}{size={\LARGE}}
|
|
32 |
\setbeamerfont{frametitle}{family={\fontspec{Hoefler Text Black}}}
|
|
33 |
\setbeamercolor{frametitle}{fg=ProcessBlue,bg=white}
|
|
34 |
|
|
35 |
\setbeamertemplate{frametitle}{%
|
|
36 |
\vskip 2mm % distance from the top margin
|
|
37 |
\hskip -3mm % distance from left margin
|
|
38 |
\vbox{%
|
|
39 |
\begin{minipage}{1.05\textwidth}%
|
|
40 |
\centering%
|
|
41 |
\begin{tabular}{@{}c@{}}%
|
|
42 |
\insertframetitle%
|
|
43 |
\end{tabular}%
|
|
44 |
\end{minipage}\vspace{-10pt}}%
|
|
45 |
}
|
|
46 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
47 |
|
|
48 |
|
|
49 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
50 |
% Foot
|
|
51 |
%
|
|
52 |
\setbeamertemplate{navigation symbols}{}
|
|
53 |
\usefoottemplate{%
|
|
54 |
\vbox{%
|
|
55 |
\tinyline{%
|
|
56 |
\tiny\hfill\textcolor{gray!50}{\slidecaption{} --
|
|
57 |
p.~\insertframenumber/\inserttotalframenumber}}}%
|
|
58 |
}
|
|
59 |
|
|
60 |
|
|
61 |
|
|
62 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
63 |
\beamertemplateballitem
|
|
64 |
\setlength\leftmargini{2mm}
|
|
65 |
\setlength\leftmarginii{0.6cm}
|
|
66 |
\setlength\leftmarginiii{1.5cm}
|
|
67 |
\setbeamertemplate{itemize/enumerate body end}{\vspace{-2mm}}
|
|
68 |
|
|
69 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
70 |
% blocks
|
|
71 |
%\definecolor{cream}{rgb}{1,1,.65}
|
|
72 |
\definecolor{cream}{rgb}{1,1,.8}
|
|
73 |
\setbeamerfont{block title}{size=\normalsize}
|
|
74 |
\setbeamercolor{block title}{fg=black,bg=cream}
|
|
75 |
\setbeamercolor{block body}{fg=black,bg=cream}
|
|
76 |
|
|
77 |
\setbeamertemplate{blocks}[rounded][shadow=true]
|
|
78 |
|
|
79 |
\setbeamercolor{boxcolor}{fg=black,bg=cream}
|
|
80 |
|
|
81 |
\mode
|
|
82 |
<all>
|
|
83 |
|
|
84 |
|
|
85 |
|
|
86 |
|
|
87 |
|
|
88 |
|