diff options
author | badumont <52835146+badumont@users.noreply.github.com> | 2021-04-30 03:47:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-29 18:47:23 -0700 |
commit | b9b22e3ce4282499c2710cb974190d775898405f (patch) | |
tree | 948ad1f5c8b60d1cf2c4f997ca8cfcca1ee3f05e /data | |
parent | b6a65445e10d74dfe384763c37438338bd395372 (diff) | |
download | pandoc-b9b22e3ce4282499c2710cb974190d775898405f.tar.gz |
Update default.latex (#7234)
Fix bad vertical spacing after the bibliography.
Diffstat (limited to 'data')
-rw-r--r-- | data/templates/default.latex | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/data/templates/default.latex b/data/templates/default.latex index a7f46b950..81b2d91fe 100644 --- a/data/templates/default.latex +++ b/data/templates/default.latex @@ -384,7 +384,10 @@ $if(csl-refs)$ {% don't indent paragraphs \setlength{\parindent}{0pt} % turn on hanging indent if param 1 is 1 - \ifodd #1 \everypar{\setlength{\hangindent}{\cslhangindent}}\ignorespaces\fi + \ifodd #1 + \let\oldpar\par + \def\par{\hangindent=\cslhangindent\oldpar} + \fi % set entry spacing \ifnum #2 > 0 \setlength{\parskip}{#2\baselineskip} |