From 4ac59af2429d97c1bb1f54088453a97205c0fcdc Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 20 Nov 2015 14:26:12 -0800 Subject: latex: Use \subtitle command for subtitle, and give fallback defn. The fallback definition is a no-op. In a class that does not define `\subtitle`, the `subtitle` will not appear. This changes earlier behavior, which was to add the subtitle to the title. This had bad results with page headers etc. --- default.latex | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/default.latex b/default.latex index cae95759b..f4f2d629a 100644 --- a/default.latex +++ b/default.latex @@ -166,7 +166,11 @@ $if(dir)$ $endif$ $if(title)$ -\title{$title$$if(subtitle)$\\\vspace{0.5em}{\large $subtitle$}$endif$} +\title{$title$} +$endif$ +$if(subtitle)$ +\providecommand{\subtitle}[1]{} +\subtitle{$subtitle$} $endif$ $if(author)$ \author{$for(author)$$author$$sep$ \and $endfor$} -- cgit v1.2.3