git.iko.soy/typeable/pandoc
on master help sign in
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`.

commit3560b02f8bfde83552e721d9eaacf68d4cc6f354 authorAndrew Dunning <adunning@users.noreply.github.com> dateTue 22 Jan 2019, 18:00 (8 years ago) parentf86ac89
1 file changed+1−1
data/templates/default.latex+1−1
data/templates/default.latex+1−1
@@ -354,7 +354,7 @@ $else$
354354\usepackage{etoolbox}
355355\makeatletter
356356\providecommand{\subtitle}[1]{% add subtitle to \maketitle
357− \apptocmd{\@title}{\par {\large #1}}{}{}
357+ \apptocmd{\@title}{\par {\large #1 \par}}{}{}
358358}
359359\makeatother
360360$endif$