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.
This commit is contained in:
parent
e7833c4dfb
commit
ee44d44f20
4 changed files with 3 additions and 2 deletions
|
@ -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)$
|
||||
|
|
|
@ -82,6 +82,7 @@
|
|||
\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
|
||||
\setcounter{secnumdepth}{-\maxdimen} % remove section numbering
|
||||
|
||||
\author{}
|
||||
\date{}
|
||||
|
||||
\begin{document}
|
||||
|
|
|
@ -49,6 +49,7 @@
|
|||
\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
|
||||
\setcounter{secnumdepth}{-\maxdimen} % remove section numbering
|
||||
|
||||
\author{}
|
||||
\date{}
|
||||
|
||||
\begin{document}
|
||||
|
|
|
@ -78,6 +78,7 @@
|
|||
\newenvironment{LTR}{\beginL}{\endL}
|
||||
\fi
|
||||
|
||||
\author{}
|
||||
\date{}
|
||||
|
||||
\begin{document}
|
||||
|
|
Loading…
Add table
Reference in a new issue