fix: apply upstream beamer fix for empty shortauthor
Closes #11. Thanks @samcarter.
This commit is contained in:
parent
3c4bf49caa
commit
b8b2d1090d
|
@ -118,16 +118,9 @@
|
||||||
\ifx\inserttitle\@empty\else\usebeamertemplate*{title}\fi
|
\ifx\inserttitle\@empty\else\usebeamertemplate*{title}\fi
|
||||||
\ifx\insertsubtitle\@empty\else\usebeamertemplate*{subtitle}\fi
|
\ifx\insertsubtitle\@empty\else\usebeamertemplate*{subtitle}\fi
|
||||||
\usebeamertemplate*{title separator}
|
\usebeamertemplate*{title separator}
|
||||||
% \end{macrocode}
|
\expandafter\ifblank\expandafter{\beamer@andstripped}{}{%
|
||||||
%
|
\usebeamertemplate*{author}%
|
||||||
% Beamer's definition of |\insertauthor| is always nonempty, so we have
|
}
|
||||||
% to test another macro initialized by |\author{...}| to see if the user has
|
|
||||||
% defined an author. This solution was suggested by Enrico Gregorio in an
|
|
||||||
% answer to \href{https://tex.stackexchange.com/questions/241306/}{this
|
|
||||||
% Stack Exchange question}.
|
|
||||||
%
|
|
||||||
% \begin{macrocode}
|
|
||||||
\ifx\beamer@shortauthor\@empty\else\usebeamertemplate*{author}\fi
|
|
||||||
\ifx\insertinstitute\@empty\else\usebeamertemplate*{institute}\fi
|
\ifx\insertinstitute\@empty\else\usebeamertemplate*{institute}\fi
|
||||||
\ifx\insertdate\@empty\else\usebeamertemplate*{date}\fi
|
\ifx\insertdate\@empty\else\usebeamertemplate*{date}\fi
|
||||||
\vfill
|
\vfill
|
||||||
|
|
Loading…
Reference in New Issue