Fix bug causing extra space on empty \author

This commit is contained in:
Ross Churchley 2015-04-29 17:14:39 -07:00
parent 736754ad5e
commit 61b4fbc641
1 changed files with 4 additions and 3 deletions

View File

@ -112,9 +112,10 @@
\end{tikzpicture}%
\vspace*{1em}%
\ifx\insertauthor\@empty\else
{{% \insertauthor is always nonempty by beamer's definition, so this
% code is always inserted:
\ifx\beamer@shortauthor\@empty\else
{{% \insertauthor is always nonempty by beamer's definition, so we must
% test another macro which is initialized by \author{...}
% For details, see http://tex.stackexchange.com/questions/241306/
\usebeamerfont{author}%
\usebeamercolor[fg]{author}%
\insertauthor%