Skip to content

Commit b9b22e3

Browse files
authored
Update default.latex (jgm#7234)
Fix bad vertical spacing after the bibliography.
1 parent b6a6544 commit b9b22e3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

data/templates/default.latex

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,10 @@ $if(csl-refs)$
384384
{% don't indent paragraphs
385385
\setlength{\parindent}{0pt}
386386
% turn on hanging indent if param 1 is 1
387-
\ifodd #1 \everypar{\setlength{\hangindent}{\cslhangindent}}\ignorespaces\fi
387+
\ifodd #1
388+
\let\oldpar\par
389+
\def\par{\hangindent=\cslhangindent\oldpar}
390+
\fi
388391
% set entry spacing
389392
\ifnum #2 > 0
390393
\setlength{\parskip}{#2\baselineskip}

0 commit comments

Comments
 (0)