Machine Learning Kurs im Rahmen der Studierendentage im SS 2023
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

259 lines
6.8 KiB

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