21
|
1 |
\usepackage[absolute,overlay]{textpos}
|
|
2 |
\usepackage{xcolor}
|
275
|
3 |
\usepackage[no-math]{fontspec}
|
|
4 |
|
|
5 |
%%%%% CODE FONT
|
|
6 |
%\setmonofont[Scale=.95]{Consolas}
|
|
7 |
\setmonofont[Scale=.88]{Consolas}
|
276
|
8 |
%\newfontfamily{\consolas}{Consolas}
|
275
|
9 |
|
|
10 |
%%%%% MATHFONT
|
21
|
11 |
\usepackage[sc]{mathpazo}
|
275
|
12 |
%\usepackage{fourier}
|
|
13 |
%\usepackage{mathspec}
|
|
14 |
%\usepackage[varg]{txfonts}
|
|
15 |
%\usepackage{mathpple}
|
|
16 |
|
|
17 |
%%%%% MAIN TEXT FONT
|
|
18 |
\setromanfont{Cronos Pro}
|
|
19 |
%\setbeamerfont{normal text}{family={\fontspec{Cronos Pro}}}
|
|
20 |
%\setbeamerfont{normal text}{family={\fontspec{Hoefler Text}}}
|
|
21 |
%\setromanfont{Cronos Pro}
|
|
22 |
%\setromanfont{Hoefler Text}
|
21
|
23 |
\usefonttheme{serif}
|
|
24 |
\defaultfontfeatures{Ligatures=TeX}
|
|
25 |
\defaultfontfeatures{Mapping=tex-text}
|
275
|
26 |
|
352
|
27 |
%% for recording slides
|
|
28 |
\setbeamersize{text margin right=5cm} % <- like this
|
275
|
29 |
|
|
30 |
%%%% Colours
|
21
|
31 |
|
|
32 |
\definecolor{darkblue}{rgb}{0,0,0.6}
|
|
33 |
\hypersetup{colorlinks=true}
|
|
34 |
\hypersetup{linkcolor=darkblue}
|
|
35 |
\hypersetup{urlcolor=darkblue}
|
|
36 |
|
275
|
37 |
\hfuzz=320pt
|
|
38 |
|
|
39 |
|
21
|
40 |
\newcommand{\tttext}[1]{{\consolas{#1}}}
|
|
41 |
|
275
|
42 |
\newcommand{\ZERO}{\mathit{\bf 0}}
|
|
43 |
\newcommand{\ONE}{\mathit{\bf 1}}
|
|
44 |
\newcommand{\Der}{\mathit{Der}}
|
|
45 |
\newcommand{\der}{\mathit{der}}
|
|
46 |
\newcommand{\Ders}{\mathit{Ders}}
|
|
47 |
\newcommand{\ders}{\mathit{ders}}
|
21
|
48 |
\newcommand{\dn}{\stackrel{\mbox{\scriptsize def}}{=}}%
|
|
49 |
\newcommand{\slidecaption}{}
|
|
50 |
|
|
51 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
52 |
% Frametitles
|
|
53 |
|
|
54 |
\setbeamerfont{frametitle}{size={\LARGE}}
|
275
|
55 |
%\setbeamerfont{frametitle}{family={\fontspec{Hoefler Text Black}}}
|
|
56 |
\setbeamerfont{frametitle}{family={\fontspec{Cronos Pro Bold Caption}}}
|
21
|
57 |
\setbeamercolor{frametitle}{fg=ProcessBlue,bg=white}
|
|
58 |
|
|
59 |
\setbeamertemplate{frametitle}{%
|
|
60 |
\vskip 2mm % distance from the top margin
|
|
61 |
\hskip -3mm % distance from left margin
|
|
62 |
\vbox{%
|
|
63 |
\begin{minipage}{1.05\textwidth}%
|
|
64 |
\centering%
|
275
|
65 |
%\begin{tabular}{@{}c@{}}%
|
21
|
66 |
\insertframetitle%
|
275
|
67 |
%\end{tabular}%
|
21
|
68 |
\end{minipage}\vspace{-10pt}}%
|
|
69 |
}
|
|
70 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
71 |
|
|
72 |
|
|
73 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
74 |
% Foot
|
|
75 |
%
|
|
76 |
\setbeamertemplate{navigation symbols}{}
|
|
77 |
\usefoottemplate{%
|
|
78 |
\vbox{%
|
|
79 |
\tinyline{%
|
|
80 |
\tiny\hfill\textcolor{gray!50}{\slidecaption{} --
|
|
81 |
p.~\insertframenumber/\inserttotalframenumber}}}%
|
|
82 |
}
|
|
83 |
|
|
84 |
|
|
85 |
|
|
86 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
352
|
87 |
%%\beamertemplateballitem
|
|
88 |
\setbeamertemplate{itemize item}[ball]
|
|
89 |
\setbeamertemplate{itemize subitem}[ball]
|
|
90 |
\setbeamertemplate{itemize subsubitem}[ball]
|
21
|
91 |
\setlength\leftmargini{2mm}
|
|
92 |
\setlength\leftmarginii{0.6cm}
|
|
93 |
\setlength\leftmarginiii{1.5cm}
|
|
94 |
\setbeamertemplate{itemize/enumerate body end}{\vspace{-2mm}}
|
|
95 |
|
|
96 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
97 |
% blocks
|
|
98 |
%\definecolor{cream}{rgb}{1,1,.65}
|
|
99 |
\definecolor{cream}{rgb}{1,1,.8}
|
|
100 |
\setbeamerfont{block title}{size=\normalsize}
|
|
101 |
\setbeamercolor{block title}{fg=black,bg=cream}
|
|
102 |
\setbeamercolor{block body}{fg=black,bg=cream}
|
|
103 |
|
|
104 |
\setbeamertemplate{blocks}[rounded][shadow=true]
|
|
105 |
|
|
106 |
\setbeamercolor{boxcolor}{fg=black,bg=cream}
|
|
107 |
|
|
108 |
\mode
|
|
109 |
<all>
|
|
110 |
|
|
111 |
|
|
112 |
|
|
113 |
|
|
114 |
|
|
115 |
|