Skip to content

Commit

Permalink
fix: merge changes from the pandoc default latex template
Browse files Browse the repository at this point in the history
  • Loading branch information
Wandmalfarbe committed Nov 25, 2023
1 parent f5361a8 commit cfa3a34
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions eisvogel.tex
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,6 @@
\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
Expand All @@ -458,7 +457,7 @@
\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}
Expand Down Expand Up @@ -734,7 +733,7 @@
$endif$
%
% remove paragraph indention
% remove paragraph indentation
%
\setlength{\parindent}{0pt}
\setlength{\parskip}{6pt plus 2pt minus 1pt}
Expand Down Expand Up @@ -1096,4 +1095,4 @@
$include-after$
$endfor$
\end{document}
\end{document}

0 comments on commit cfa3a34

Please sign in to comment.