@@ -1,285 +0,0 @@
1−\documentclass[$if(fontsize)$$fontsize$,$endif$$if(lang)$$babel-lang$,$endif$$if(handout)$handout,$endif$$if(colorlinks)$dvipsnames,$endif$$if(beamer)$ignorenonframetext,$endif$$for(classoption)$$classoption$$sep$,$endfor$$if(aspectratio)$aspectratio=$aspectratio$,$endif$]{$documentclass$}
2−\setbeamertemplate{caption}[numbered]
3−\setbeamertemplate{caption label separator}{: }
4−\setbeamercolor{caption name}{fg=normal text.fg}
5−\beamertemplatenavigationsymbols$if(navigation)$$navigation$$else$empty$endif$
6−$if(fontfamily)$
7−\usepackage[$for(fontfamilyoptions)$$fontfamilyoptions$$sep$,$endfor$]{$fontfamily$}
8−$else$
9−\usepackage{lmodern}
10−$endif$
11−\usepackage{amssymb,amsmath}
12−\usepackage{ifxetex,ifluatex}
13−\usepackage{fixltx2e} % provides \textsubscript
14−\ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex
15− \usepackage[$if(fontenc)$$fontenc$$else$T1$endif$]{fontenc}
16− \usepackage[utf8]{inputenc}
17−$if(euro)$
18− \usepackage{eurosym}
19−$endif$
20−\else % if luatex or xelatex
21− \ifxetex
22− \usepackage{mathspec}
23− \else
24− \usepackage{fontspec}
25− \fi
26− \defaultfontfeatures{Ligatures=TeX,Scale=MatchLowercase}
27−$for(fontfamilies)$
28− \newfontfamily{$fontfamilies.name$}[$fontfamilies.options$]{$fontfamilies.font$}
29−$endfor$
30−$if(euro)$
31− \newcommand{\euro}{€}
32−$endif$
33−$if(mainfont)$
34− \setmainfont[$for(mainfontoptions)$$mainfontoptions$$sep$,$endfor$]{$mainfont$}
35−$endif$
36−$if(sansfont)$
37− \setsansfont[$for(sansfontoptions)$$sansfontoptions$$sep$,$endfor$]{$sansfont$}
38−$endif$
39−$if(monofont)$
40− \setmonofont[Mapping=tex-ansi$if(monofontoptions)$,$for(monofontoptions)$$monofontoptions$$sep$,$endfor$$endif$]{$monofont$}
41−$endif$
42−$if(mathfont)$
43− \setmathfont(Digits,Latin,Greek)[$for(mathfontoptions)$$mathfontoptions$$sep$,$endfor$]{$mathfont$}
44−$endif$
45−$if(CJKmainfont)$
46− \usepackage{xeCJK}
47− \setCJKmainfont[$for(CJKoptions)$$CJKoptions$$sep$,$endfor$]{$CJKmainfont$}
48−$endif$
49−\fi
50−$if(theme)$
51−\usetheme[$for(themeoptions)$$themeoptions$$sep$,$endfor$]{$theme$}
52−$endif$
53−$if(colortheme)$
54−\usecolortheme{$colortheme$}
55−$endif$
56−$if(fonttheme)$
57−\usefonttheme{$fonttheme$}
58−$endif$
59−$if(mainfont)$
60−\usefonttheme{serif} % use mainfont rather than sansfont for slide text
61−$endif$
62−$if(innertheme)$
63−\useinnertheme{$innertheme$}
64−$endif$
65−$if(outertheme)$
66−\useoutertheme{$outertheme$}
67−$endif$
68−% use upquote if available, for straight quotes in verbatim environments
69−\IfFileExists{upquote.sty}{\usepackage{upquote}}{}
70−% use microtype if available
71−\IfFileExists{microtype.sty}{%
72−\usepackage{microtype}
73−\UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
74−}{}
75−$if(lang)$
76−\ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex
77− \usepackage[shorthands=off,$for(babel-otherlangs)$$babel-otherlangs$,$endfor$main=$babel-lang$]{babel}
78−$if(babel-newcommands)$
79− $babel-newcommands$
80−$endif$
81−\else
82− \usepackage{polyglossia}
83− \setmainlanguage[$polyglossia-lang.options$]{$polyglossia-lang.name$}
84−$for(polyglossia-otherlangs)$
85− \setotherlanguage[$polyglossia-otherlangs.options$]{$polyglossia-otherlangs.name$}
86−$endfor$
87−\fi
88−$endif$
89−\newif\ifbibliography
90−$if(natbib)$
91−\usepackage{natbib}
92−\bibliographystyle{$if(biblio-style)$$biblio-style$$else$plainnat$endif$}
93−$endif$
94−$if(biblatex)$
95−\usepackage[$if(biblio-style)$style=$biblio-style$,$endif$$for(biblatexoptions)$$biblatexoptions$$sep$,$endfor$]{biblatex}
96−$for(bibliography)$
97−\addbibresource{$bibliography$}
98−$endfor$
99−$endif$
100−$if(verbatim-in-note)$
101−\usepackage{fancyvrb}
102−$endif$
103−\hypersetup{
104−$if(title-meta)$
105− pdftitle={$title-meta$},
106−$endif$
107−$if(author-meta)$
108− pdfauthor={$author-meta$},
109−$endif$
110−$if(keywords)$
111− pdfkeywords={$for(keywords)$$keywords$$sep$, $endfor$},
112−$endif$
113−$if(colorlinks)$
114− colorlinks=true,
115− linkcolor=$if(linkcolor)$$linkcolor$$else$Maroon$endif$,
116− citecolor=$if(citecolor)$$citecolor$$else$Blue$endif$,
117− urlcolor=$if(urlcolor)$$urlcolor$$else$Blue$endif$,
118−$else$
119− pdfborder={0 0 0},
120−$endif$
121− breaklinks=true}
122−\urlstyle{same} % don't use monospace font for urls
123−$if(verbatim-in-note)$
124−\VerbatimFootnotes % allows verbatim text in footnotes
125−$endif$
126−$if(listings)$
127−\usepackage{listings}
128−\newcommand{\passthrough}[1]{#1}
129−$endif$
130−$if(lhs)$
131−\lstnewenvironment{code}{\lstset{language=Haskell,basicstyle=\small\ttfamily}}{}
132−$endif$
133−$if(highlighting-macros)$
134−$highlighting-macros$
135−$endif$
136−$if(tables)$
137−\usepackage{longtable,booktabs}
138−\usepackage{caption}
139−% These lines are needed to make table captions work with longtable:
140−\makeatletter
141−\def\fnum@table{\tablename~\thetable}
142−\makeatother
143−$endif$
144−$if(graphics)$
145−\usepackage{graphicx,grffile}
146−\makeatletter
147−\def\maxwidth{\ifdim\Gin@nat@width>\linewidth\linewidth\else\Gin@nat@width\fi}
148−\def\maxheight{\ifdim\Gin@nat@height>\textheight0.8\textheight\else\Gin@nat@height\fi}
149−\makeatother
150−% Scale images if necessary, so that they will not overflow the page
151−% margins by default, and it is still possible to overwrite the defaults
152−% using explicit options in \includegraphics[width, height, ...]{}
153−\setkeys{Gin}{width=\maxwidth,height=\maxheight,keepaspectratio}
154−$endif$
155−
156−% Prevent slide breaks in the middle of a paragraph:
157−\widowpenalties 1 10000
158−\raggedbottom
159−
160−$if(section-titles)$
161−\AtBeginPart{
162− \let\insertpartnumber\relax
163− \let\partname\relax
164− \frame{\partpage}
165−}
166−\AtBeginSection{
167− \ifbibliography
168− \else
169− \let\insertsectionnumber\relax
170− \let\sectionname\relax
171− \frame{\sectionpage}
172− \fi
173−}
174−\AtBeginSubsection{
175− \let\insertsubsectionnumber\relax
176− \let\subsectionname\relax
177− \frame{\subsectionpage}
178−}
179−$endif$
180−
181−$if(links-as-notes)$
182−% Make links footnotes instead of hotlinks:
183−\renewcommand{\href}[2]{#2\footnote{\url{#1}}}
184−$endif$
185−$if(strikeout)$
186−\usepackage[normalem]{ulem}
187−% avoid problems with \sout in headers with hyperref:
188−\pdfstringdefDisableCommands{\renewcommand{\sout}{}}
189−$endif$
190−\setlength{\parindent}{0pt}
191−\setlength{\parskip}{6pt plus 2pt minus 1pt}
192−\setlength{\emergencystretch}{3em} % prevent overfull lines
193−\providecommand{\tightlist}{%
194− \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
195−$if(numbersections)$
196−\setcounter{secnumdepth}{$if(secnumdepth)$$secnumdepth$$else$5$endif$}
197−$else$
198−\setcounter{secnumdepth}{0}
199−$endif$
200−$if(dir)$
201−\ifxetex
202− % load bidi as late as possible as it modifies e.g. graphicx
203− $if(latex-dir-rtl)$
204− \usepackage[RTLdocument]{bidi}
205− $else$
206− \usepackage{bidi}
207− $endif$
208−\fi
209−\ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex
210− \TeXXeTstate=1
211− \newcommand{\RL}[1]{\beginR #1\endR}
212− \newcommand{\LR}[1]{\beginL #1\endL}
213− \newenvironment{RTL}{\beginR}{\endR}
214− \newenvironment{LTR}{\beginL}{\endL}
215−\fi
216−$endif$
217−$for(header-includes)$
218−$header-includes$
219−$endfor$
220−
221−$if(title)$
222−\title{$title$}
223−$endif$
224−$if(subtitle)$
225−\subtitle{$subtitle$}
226−$endif$
227−$if(author)$
228−\author{$for(author)$$author$$sep$ \and $endfor$}
229−$endif$
230−$if(institute)$
231−\institute{$for(institute)$$institute$$sep$ \and $endfor$}
232−$endif$
233−\date{$date$}
234−$if(titlegraphic)$
235−\titlegraphic{\includegraphics{$titlegraphic$}}
236−$endif$
237−$if(logo)$
238−\logo{\includegraphics{$logo$}}
239−$endif$
240−
241−\begin{document}
242−$if(title)$
243−\frame{\titlepage}
244−$endif$
245−
246−$for(include-before)$
247−$include-before$
248−
249−$endfor$
250−$if(toc)$
251−\begin{frame}
252−\tableofcontents[hideallsubsections]
253−\end{frame}
254−
255−$endif$
256−$body$
257−
258−$if(natbib)$
259−$if(bibliography)$
260−$if(biblio-title)$
261−$if(book-class)$
262−\renewcommand\bibname{$biblio-title$}
263−$else$
264−\renewcommand\refname{$biblio-title$}
265−$endif$
266−$endif$
267−\begin{frame}[allowframebreaks]{$biblio-title$}
268−\bibliographytrue
269−\bibliography{$for(bibliography)$$bibliography$$sep$,$endfor$}
270−\end{frame}
271−
272−$endif$
273−$endif$
274−$if(biblatex)$
275−\begin{frame}[allowframebreaks]{$biblio-title$}
276−\bibliographytrue
277−\printbibliography[heading=none]
278−\end{frame}
279−
280−$endif$
281−$for(include-after)$
282−$include-after$
283−
284−$endfor$
285−\end{document}