|
|
@ -38,6 +38,12 @@ |
|
|
|
% https://github.com/Wandmalfarbe/pandoc-latex-template |
|
|
|
%% |
|
|
|
|
|
|
|
\PassOptionsToPackage{unicode=true}{hyperref} % options for packages loaded elsewhere |
|
|
|
\PassOptionsToPackage{hyphens}{url} |
|
|
|
$if(colorlinks)$ |
|
|
|
\PassOptionsToPackage{usenames,dvipsnames}{color} |
|
|
|
$endif$ |
|
|
|
% |
|
|
|
\documentclass[$if(fontsize)$$fontsize$,$endif$$if(lang)$$babel-lang$,$endif$$if(papersize)$$papersize$paper,$else$a4paper,$endif$$for(classoption)$$classoption$$sep$,$endfor$]{scrartcl} |
|
|
|
$if(beamerarticle)$ |
|
|
|
\usepackage{beamerarticle} % needs to be loaded first |
|
|
@ -118,14 +124,10 @@ $else$ |
|
|
|
\setlength{\parskip}{6pt plus 2pt minus 1pt} |
|
|
|
} |
|
|
|
$endif$ |
|
|
|
\PassOptionsToPackage{hyphens}{url} % url is loaded by hyperref |
|
|
|
$if(verbatim-in-note)$ |
|
|
|
\usepackage{fancyvrb} |
|
|
|
$endif$ |
|
|
|
\usepackage[unicode=true]{hyperref} |
|
|
|
$if(colorlinks)$ |
|
|
|
\PassOptionsToPackage{usenames,dvipsnames}{color} % color is loaded by hyperref |
|
|
|
$endif$ |
|
|
|
\usepackage{hyperref} |
|
|
|
\hypersetup{ |
|
|
|
$if(title-meta)$ |
|
|
|
pdftitle={$title-meta$}, |
|
|
@ -161,7 +163,7 @@ $else$ |
|
|
|
\usepackage[margin=2.5cm,includehead=true,includefoot=true,centering]{geometry} |
|
|
|
$endif$ |
|
|
|
$if(natbib)$ |
|
|
|
\usepackage{natbib} |
|
|
|
\usepackage[$natbiboptions$]{natbib} |
|
|
|
\bibliographystyle{$if(biblio-style)$$biblio-style$$else$plainnat$endif$} |
|
|
|
$endif$ |
|
|
|
$if(biblatex)$ |
|
|
@ -183,7 +185,7 @@ $endif$ |
|
|
|
$if(tables)$ |
|
|
|
\usepackage{longtable,booktabs} |
|
|
|
% Fix footnotes in tables (requires footnote package) |
|
|
|
\IfFileExists{footnote.sty}{\usepackage{footnote}\makesavenoteenv{long table}}{} |
|
|
|
\IfFileExists{footnote.sty}{\usepackage{footnote}\makesavenoteenv{longtable}}{} |
|
|
|
$endif$ |
|
|
|
$if(graphics)$ |
|
|
|
\usepackage{graphicx,grffile} |
|
|
|