From ee44d44f20d2a06648efe72a6836c24a179c8146 Mon Sep 17 00:00:00 2001 From: Yihui Xie Date: Thu, 5 Dec 2019 12:22:31 -0600 Subject: Keep the \author{} command even if author is not specified (#5961) Otherwise there will be a LaTeX warning "No \author given" when the .tex file is compiled. This does not affect spacing in the title block. --- data/templates/default.latex | 2 -- 1 file changed, 2 deletions(-) (limited to 'data') diff --git a/data/templates/default.latex b/data/templates/default.latex index 20d5493f4..ed4b8ea33 100644 --- a/data/templates/default.latex +++ b/data/templates/default.latex @@ -383,9 +383,7 @@ $else$ $endif$ \subtitle{$subtitle$} $endif$ -$if(author)$ \author{$for(author)$$author$$sep$ \and $endfor$} -$endif$ \date{$date$} $if(beamer)$ $if(institute)$ -- cgit v1.2.3