1
0
forked from upb/FancyBeamerUPB

refactor(titlepage): align logo with title spacing

This commit is contained in:
EagleoutIce 2024-03-11 17:06:02 +01:00 committed by Thomas Thüm
parent 1515b10553
commit 5c37832767

View File

@ -130,6 +130,7 @@
}% }%
}} }}
\def\fancy@titlepage@margin{20pt}
\newcommand{\@createtitleslide}{ \newcommand{\@createtitleslide}{
{ {
\ifx \fancytitlepicture \empty \else \usebackgroundtemplate{\pic[trim=0 0 0 \fancytitlepictureoffset,clip,width=\paperwidth]{\fancytitlepicture}} \fi \ifx \fancytitlepicture \empty \else \usebackgroundtemplate{\pic[trim=0 0 0 \fancytitlepictureoffset,clip,width=\paperwidth]{\fancytitlepicture}} \fi
@ -139,15 +140,14 @@
\LARGE\textbf{\inserttitle}\hspace*{20pt} \LARGE\textbf{\inserttitle}\hspace*{20pt}
\end{beamercolorbox}% \end{beamercolorbox}%
\nointerlineskip% \nointerlineskip%
\begin{beamercolorbox}[wd=\paperwidth,ht=2.25ex,dp=1ex,right]{subtitlebox} \begin{beamercolorbox}[wd=\paperwidth,ht=2.25ex,dp=1ex,right,rightskip=\fancy@titlepage@margin]{subtitlebox}
\small \small
\ifx \insertsubtitle \empty \else \insertsubtitle\ $\vert$ \fi \ifx \insertsubtitle \empty \else \insertsubtitle\ $\vert$ \fi
\insertauthor\ \insertauthor\
\ifx \insertdate \empty \else $\vert$ \insertdate \fi \ifx \insertdate \empty \else $\vert$ \insertdate \fi
\hspace*{20pt}
\end{beamercolorbox}% \end{beamercolorbox}%
\nointerlineskip \nointerlineskip
\begin{beamercolorbox}[wd=\paperwidth,ht=4.5ex,dp=2ex,leftskip=10pt,rightskip=10pt]{logobox} \begin{beamercolorbox}[wd=\paperwidth,ht=4.5ex,dp=2ex,leftskip=\fancy@titlepage@margin,rightskip=\fancy@titlepage@margin]{logobox}
\vspace{-1ex}% \vspace{-1ex}%
\fancy@logoline \fancy@logoline
\end{beamercolorbox}% \end{beamercolorbox}%