aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2023-09-04 16:55:00 -0700
committerJohn MacFarlane <[email protected]>2023-09-04 16:55:47 -0700
commit4b1fc4de72e47890db8cec7abf2499cb80173bcc (patch)
treee0d7f8de1dc5a9bb3868906b37fbdb472616ecdf /data
parentaca36563c9dc3eff03ca03a907d0565ec62575a9 (diff)
LaTeX template: fix regression with CSL display="block".
We no longer got a line break before the block; this restores it. Closes #7363.
Diffstat (limited to 'data')
-rw-r--r--data/templates/default.latex2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/default.latex b/data/templates/default.latex
index dff015525..34618b01e 100644
--- a/data/templates/default.latex
+++ b/data/templates/default.latex
@@ -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}