latex template: conditionalize author and date.

Thanks to ivoanjo for the patch. Closes #61.
This commit is contained in:
John MacFarlane 2014-05-06 09:48:18 -07:00
parent 5de411030b
commit fc5229df16

View file

@ -126,8 +126,12 @@ $endif$
$if(subtitle)$ $if(subtitle)$
\subtitle{$subtitle$} \subtitle{$subtitle$}
$endif$ $endif$
$if(author)$
\author{$for(author)$$author$$sep$ \and $endfor$} \author{$for(author)$$author$$sep$ \and $endfor$}
$endif$
$if(date)$
\date{$date$} \date{$date$}
$endif$
$for(header-includes)$ $for(header-includes)$
$header-includes$ $header-includes$
$endfor$ $endfor$