Skip to content

Commit

Permalink
LaTeX template: fix regression with CSL display="block".
Browse files Browse the repository at this point in the history
We no longer got a line break before the block; this restores it.
Closes #7363.
  • Loading branch information
jgm committed Sep 4, 2023
1 parent aca3656 commit 4b1fc4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/templates/default.latex
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ $if(csl-refs)$
parsep=\parskip,
itemsep=\cslentryspacing}
\usepackage{calc}
\newcommand{\CSLBlock}[1]{#1\hfill\break}
\newcommand{\CSLBlock}[1]{\hfill\break#1\hfill\break}
\newcommand{\CSLLeftMargin}[1]{\parbox[t]{\csllabelwidth}{#1}}
\newcommand{\CSLRightInline}[1]{\parbox[t]{\linewidth - \csllabelwidth}{#1}\break}
\newcommand{\CSLIndent}[1]{\hspace{\cslhangindent}#1}
Expand Down

0 comments on commit 4b1fc4d

Please sign in to comment.