blob: 35bc0cff98849854c3ca1cfa4b2c88cf4f274ebf (
plain)
- % Options for packages loaded elsewhere
- \PassOptionsToPackage{unicode$for(hyperrefoptions)$,$hyperrefoptions$$endfor$}{hyperref}
- \PassOptionsToPackage{hyphens}{url}
- $if(colorlinks)$
- \PassOptionsToPackage{dvipsnames,svgnames,x11names}{xcolor}
- $endif$
- $if(CJKmainfont)$
- \PassOptionsToPackage{space}{xeCJK}
- $endif$
- %
- $doc-class.tex()$
- $if(beamer)$
- $if(background-image)$
- \usebackgroundtemplate{%
- \includegraphics[width=\paperwidth]{$background-image$}%
- }
- % In beamer background-image does not work well when other images are used, so this is the workaround
- \pgfdeclareimage[width=\paperwidth,height=\paperheight]{background}{$background-image$}
- \usebackgroundtemplate{\pgfuseimage{background}}
- $endif$
- \usepackage{pgfpages}
- \setbeamertemplate{caption}[numbered]
- \setbeamertemplate{caption label separator}{: }
- \setbeamercolor{caption name}{fg=normal text.fg}
- \beamertemplatenavigationsymbols$if(navigation)$$navigation$$else$empty$endif$
- $for(beameroption)$
- \setbeameroption{$beameroption$}
- $endfor$
- % Prevent slide breaks in the middle of a paragraph
- \widowpenalties 1 10000
- \raggedbottom
- $if(section-titles)$
|