Put titlegraphic in 0pt vbox instead of -vspace
This commit is contained in:
parent
026123ab15
commit
702a821d93
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue