Put titlegraphic in 0pt vbox instead of -vspace

This commit is contained in:
Ross Churchley 2015-04-29 16:48:34 -07:00
parent 026123ab15
commit 702a821d93
1 changed files with 7 additions and 8 deletions

View File

@ -72,14 +72,13 @@
\ifx\inserttitlegraphic\@empty% \ifx\inserttitlegraphic\@empty%
\else% \else%
{ {
% actual output of titlegraphic \vbox to 0pt
\usebeamercolor[fg]{titlegraphic}\inserttitlegraphic\par% {% display title graphic without changing the position of other elements
% measurement and add negative vspace \vspace*{2em}
\newdimen\logoheight \usebeamercolor[fg]{titlegraphic}%
\setbox0=\vbox{\inserttitlegraphic}% \inserttitlegraphic{}%
\logoheight=\ht0 \advance\logoheight by \dp0 % }%
\vspace*{-\logoheight}% \nointerlineskip%
\nointerlineskip%
}% }%
\fi% \fi%
\vfill \vfill