22 lines
714 B
TeX
22 lines
714 B
TeX
\mode<presentation>
|
|
|
|
% Frame title
|
|
\defbeamertemplate*{frametitle}{texsx}[1][]
|
|
{
|
|
\vskip1cm%
|
|
\begin{beamercolorbox}[wd=\paperwidth,ht=1.2cm]{frametitle}
|
|
\begin{tikzpicture}
|
|
\definecolor{th-red}{HTML}{425159};
|
|
\useasboundingbox[fill=th-red](0,0) rectangle(.7*\the\paperwidth,1.2);
|
|
\ifx\insertframesubtitle\@empty%
|
|
{\node[anchor=center, white,font=\large] at (3.2,0.61){\insertframetitle};}
|
|
\else%
|
|
{\node[anchor= center, white,font=\large] at (3.2,0.81){\insertframetitle};%
|
|
\node[anchor= center, white,font=\small] at (3.2,0.41){\insertframesubtitle};}%
|
|
\fi
|
|
\end{tikzpicture}
|
|
\end{beamercolorbox}
|
|
}
|
|
|
|
\mode<all>
|