diff options
author | John MacFarlane <jgm@berkeley.edu> | 2014-05-06 09:48:18 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2014-05-06 09:48:59 -0700 |
commit | fc5229df167aa61cdbcf14ce24581b36bb0a5b90 (patch) | |
tree | 3cbfbbbf2501b2ae885c516edd3f5de2aae38347 | |
parent | 5de411030bfcf0b369d10ff084caaad8b37ccfd6 (diff) | |
download | pandoc-fc5229df167aa61cdbcf14ce24581b36bb0a5b90.tar.gz |
latex template: conditionalize author and date.
Thanks to ivoanjo for the patch. Closes #61.
-rw-r--r-- | default.latex | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/default.latex b/default.latex index 5cfd7620c..0364eea45 100644 --- a/default.latex +++ b/default.latex @@ -126,8 +126,12 @@ $endif$ $if(subtitle)$ \subtitle{$subtitle$} $endif$ +$if(author)$ \author{$for(author)$$author$$sep$ \and $endfor$} +$endif$ +$if(date)$ \date{$date$} +$endif$ $for(header-includes)$ $header-includes$ $endfor$ |