aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorJohn Purnell <[email protected]>2023-09-10 18:16:50 +1200
committerJohn MacFarlane <[email protected]>2023-09-10 21:22:54 -0700
commitc9fe8b81cac1ee2e3cdb80a6fbbb39b2803f1174 (patch)
tree063ee7569d735caa3ee5784cdff1fcd9d4bfce0c /data
parentab154a46b0150ccbe46839c4dc378804532488a4 (diff)
LaTeX template: fix \CSLBlock vertical space
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 b457c93e2..94aac2670 100644
--- a/data/templates/default.latex
+++ b/data/templates/default.latex
@@ -364,7 +364,7 @@ $if(csl-refs)$
\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}