mum-theme-beamer/beamerouterthememum.sty

42 lines
1.9 KiB
TeX

\mode<presentation>
\defbeamertemplate*{frametitle}{mum}[1][]
{
\begin{beamercolorbox}[wd=\paperwidth,ht=1.2cm]{frametitle}
\begin{tikzpicture}
\useasboundingbox[fill=white](0,0) rectangle(\the\paperwidth,1.2);
\ifx\insertframesubtitle\@empty%
{\node[anchor=west, mumbluefont, font=\LARGE\bfseries](title) at (0.0,0.61){\insertframetitle};}
\else%
{\node[anchor=west, mumbluefont, font=\LARGE\bfseries](title) at (0.0, 0.61){\insertframetitle};%
\node[anchor=west, mumbluefont, font=\large\bfseries] at (0.0, 0.21){\insertframesubtitle};}%
\fi
\node[draw=none, fill=none, anchor=south east] (logo) at (\the\paperwidth,0.0){\includegraphics{mum-logo}};
\draw[mumbluefont](title.east)--(logo);
\end{tikzpicture}
\end{beamercolorbox}
}
\defbeamertemplate*{footline}{mum}
{
%\leavemode%
\hbox{%
\begin{beamercolorbox}[wd=0.3333\paperwidth,ht=0.5cm,leftskip=2ex]{author in footline}%
\vbox to0.5cm{\vfill \hbox{\usebeamerfont{author in footline}\insertshortauthor}\vfill}
\end{beamercolorbox}%
\begin{beamercolorbox}[wd=0.3333\paperwidth,ht=0.5cm,center]{author in footline}%
\vbox to0.5cm{\vfill \hbox{%
\ifx\insertshortinstitute\@empty%
\usebeamerfont{institute in footline}\insertinstitute%
\else%
\usebeamerfont{institute in footline}\textbf{\insertshortinstitute} - \usebeamerfont{institute in footline}\insertinstitute%
\fi%
}%
\vfill}%
\end{beamercolorbox}%
\begin{beamercolorbox}[wd=0.3333\paperwidth,ht=0.5cm,right]{framenumber in footline}%
\vbox to0.5cm{\vfill \hbox{\usebeamerfont{framenumber in footline}\insertframenumber\hspace{2ex}}\vfill}
\end{beamercolorbox}%
}
}
\mode<all>