Commit 0e144e0f authored by Benedikt Steinbusch's avatar Benedikt Steinbusch

do not reserve space for empty subtitles

parent bc3980fc
......@@ -274,7 +274,11 @@
\leftskip 0.5cm%
\advance\rightskip 0.5cm%
\usebeamercolor[fg]{title}\usebeamerfont*{title}\strut{}\inserttitle\par%
\usebeamercolor[fg]{subtitle}\usebeamerfont{subtitle}\strut{}\insertsubtitle\par\medskip%
\ifx\insertsubtitle\@empty%
\else%
\usebeamercolor[fg]{subtitle}\usebeamerfont{subtitle}\strut{}\insertsubtitle\par%
\fi%
\medskip%
\usebeamercolor[fg]{title}\usebeamerfont*{date}\insertdate\enspace\vrule width0.3pt\enspace\insertauthor\enspace\vrule width0.3pt\enspace\insertinstitute\par%
}
......@@ -284,8 +288,13 @@
\vskip\myheadlinea%
\leftskip 0.5cm%
\advance\rightskip 0.5cm%
\usebeamercolor[fg]{title}\usebeamerfont{title}\strut{}\inserttitle\par\medskip%
\usebeamercolor[fg]{subtitle}\usebeamerfont{subtitle}\strut{}\insertsubtitle\par\bigskip\bigskip%
\usebeamercolor[fg]{title}\usebeamerfont{title}\strut{}\inserttitle\par%
\ifx\insertsubtitle\@empty%
\else%
\medskip%
\usebeamercolor[fg]{subtitle}\usebeamerfont{subtitle}\strut{}\insertsubtitle\par%
\fi%
\bigskip\bigskip%
\usebeamercolor[fg]{title}\usebeamerfont*{date}\insertdate\enspace\vrule width0.3pt\enspace\insertauthor\enspace\vrule width0.3pt\enspace\insertinstitute\par
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment