From 62732204497dc67a54497cd27b9e6005d2c3ff25 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Thu, 7 Sep 2023 09:04:56 -0700 Subject: Adjust default latex template to improve citeproc output. - Add a strut to avoid inconsistencies in spacing. - Remove a break at the end of CSLRightInline to avoid inconsistencies in spacing. It shouldn't be necessary because the paragraph should extend to the right margin. See #9058. --- data/templates/default.latex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/templates/default.latex b/data/templates/default.latex index 4aa28138f..3e1b2f7ad 100644 --- a/data/templates/default.latex +++ b/data/templates/default.latex @@ -365,8 +365,8 @@ $if(csl-refs)$ {\end{list}} \usepackage{calc} \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{\CSLLeftMargin}[1]{\parbox[t]{\csllabelwidth}{\strut #1 \strut}} +\newcommand{\CSLRightInline}[1]{\parbox[t]{\linewidth - \csllabelwidth}{\strut #1 \strut}} \newcommand{\CSLIndent}[1]{\hspace{\cslhangindent}#1} $endif$ $if(lang)$ -- cgit v1.2.3