diff --git a/style/template.tex b/style/template.tex index dc769cc..8bc1e19 100644 --- a/style/template.tex +++ b/style/template.tex @@ -426,6 +426,15 @@ $endif$ %% wir schreiben keine Umlaut mit "a "o \shorthandoff{"} +%% CSL Referenzen ab pandoc 2.7 +$if(csl-refs)$ +\newlength{\cslhangindent} +\setlength{\cslhangindent}{1.5em} +\newenvironment{cslreferences}% + {$if(csl-hanging-indent)$\setlength{\parindent}{0pt}% + \everypar{\setlength{\hangindent}{\cslhangindent}}\ignorespaces$endif$}% + {\par} +$endif$ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \begin{document}