fix: merge changes from the pandoc default latex template

This commit is contained in:
Wandmalfarbe 2023-11-25 14:46:43 +01:00
parent f5361a88b4
commit cfa3a34aaa

View File

@ -432,7 +432,6 @@ $if(csl-refs)$
\NewDocumentCommand\citeproctext{}{}
\NewDocumentCommand\citeproc{mm}{%
\begingroup\def\citeproctext{#2}\cite{#1}\endgroup}
% avoid brackets around text for \cite:
\makeatletter
% allow citations to break across lines
\let\@cite@ofmt\@firstofone
@ -458,7 +457,7 @@ $if(csl-refs)$
\setlength{\itemsep}{#2\baselineskip}}}
{\end{list}}
\usepackage{calc}
\newcommand{\CSLBlock}[1]{\hfill\break#1\hfill\break}
\newcommand{\CSLBlock}[1]{\hfill\break\parbox[t]{\linewidth}{\strut\ignorespaces#1\strut}}
\newcommand{\CSLLeftMargin}[1]{\parbox[t]{\csllabelwidth}{\strut#1\strut}}
\newcommand{\CSLRightInline}[1]{\parbox[t]{\linewidth - \csllabelwidth}{\strut#1\strut}}
\newcommand{\CSLIndent}[1]{\hspace{\cslhangindent}#1}
@ -734,7 +733,7 @@ $endif$
$endif$
%
% remove paragraph indention
% remove paragraph indentation
%
\setlength{\parindent}{0pt}
\setlength{\parskip}{6pt plus 2pt minus 1pt}
@ -1096,4 +1095,4 @@ $for(include-after)$
$include-after$
$endfor$
\end{document}
\end{document}