ite: student project to explore semantic web for learning aid
summaryrefslogtreecommitdiff
path: root/_templates/template.tex
blob: 35bc0cff98849854c3ca1cfa4b2c88cf4f274ebf (plain)
  1. % Options for packages loaded elsewhere
  2. \PassOptionsToPackage{unicode$for(hyperrefoptions)$,$hyperrefoptions$$endfor$}{hyperref}
  3. \PassOptionsToPackage{hyphens}{url}
  4. $if(colorlinks)$
  5. \PassOptionsToPackage{dvipsnames,svgnames,x11names}{xcolor}
  6. $endif$
  7. $if(CJKmainfont)$
  8. \PassOptionsToPackage{space}{xeCJK}
  9. $endif$
  10. %
  11. $doc-class.tex()$
  12. $if(beamer)$
  13. $if(background-image)$
  14. \usebackgroundtemplate{%
  15.   \includegraphics[width=\paperwidth]{$background-image$}%
  16. }
  17. % In beamer background-image does not work well when other images are used, so this is the workaround
  18. \pgfdeclareimage[width=\paperwidth,height=\paperheight]{background}{$background-image$}
  19. \usebackgroundtemplate{\pgfuseimage{background}}
  20. $endif$
  21. \usepackage{pgfpages}
  22. \setbeamertemplate{caption}[numbered]
  23. \setbeamertemplate{caption label separator}{: }
  24. \setbeamercolor{caption name}{fg=normal text.fg}
  25. \beamertemplatenavigationsymbols$if(navigation)$$navigation$$else$empty$endif$
  26. $for(beameroption)$
  27. \setbeameroption{$beameroption$}
  28. $endfor$
  29. % Prevent slide breaks in the middle of a paragraph
  30. \widowpenalties 1 10000
  31. \raggedbottom
  32. $if(section-titles)$