diff options
author | Andrew Dunning <adunning@users.noreply.github.com> | 2019-01-22 18:00:27 -0500 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-01-22 15:00:27 -0800 |
commit | 3560b02f8bfde83552e721d9eaacf68d4cc6f354 (patch) | |
tree | a7b94c40d0d35b522b8be716d97fbe179c9dc38e | |
parent | f86ac89383110f2755a53d49dc508da873bcaf0a (diff) | |
download | pandoc-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`.
-rw-r--r-- | data/templates/default.latex | 2 |
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$ |