git.iko.soy/typeable/pandoc
on master help sign in
latex: Use \subtitle command for subtitle, and give fallback defn.
4ac59afJohn MacFarlane
default.latex+5−1
@@ -166,7 +166,11 @@ $if(dir)$
166$endif$
166$endif$
167
167
168$if(title)$
168$if(title)$
169−\title{$title$$if(subtitle)$\\\vspace{0.5em}{\large $subtitle$}$endif$}
169+\title{$title$}
170+$endif$
171+$if(subtitle)$
172+\providecommand{\subtitle}[1]{}
173+\subtitle{$subtitle$}
170$endif$
174$endif$
171$if(author)$
175$if(author)$
172\author{$for(author)$$author$$sep$ \and $endfor$}
176\author{$for(author)$$author$$sep$ \and $endfor$}