aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorAndrew Dunning <adunning@users.noreply.github.com>2019-01-22 18:00:27 -0500
committerJohn MacFarlane <jgm@berkeley.edu>2019-01-22 15:00:27 -0800
commit3560b02f8bfde83552e721d9eaacf68d4cc6f354 (patch)
treea7b94c40d0d35b522b8be716d97fbe179c9dc38e /data
parentf86ac89383110f2755a53d49dc508da873bcaf0a (diff)
downloadpandoc-3560b02f8bfde83552e721d9eaacf68d4cc6f354.tar.gz
LaTeX template: Fix subtitle spacing (#5244)
The `\large` command does not reset the spacing without adding `\par` to the end, which caused `\subtitle` to use the same line spacing as `\title`.
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 b9dbbb774..01e435b43 100644
--- a/data/templates/default.latex
+++ b/data/templates/default.latex
@@ -354,7 +354,7 @@ $else$
\usepackage{etoolbox}
\makeatletter
\providecommand{\subtitle}[1]{% add subtitle to \maketitle
- \apptocmd{\@title}{\par {\large #1}}{}{}
+ \apptocmd{\@title}{\par {\large #1 \par}}{}{}
}
\makeatother
$endif$