Ford_vs_Musk_Presentation/beamerinnerthemeth-owl.sty
MK_Managementkompetenzen a8adb76e50 Initial commit
2020-11-26 06:56:00 +00:00

52 lines
1.6 KiB
TeX

\mode<presentation>
% Requirement
\RequirePackage{tikz}
\setbeamertemplate{background}{
\begin{tikzpicture}
\useasboundingbox (0,0) rectangle(\the\paperwidth,\the\paperheight);
\ifnum\thepage>1\relax%
\fill[white,opacity=1] (0,0) rectangle(\the\paperwidth,\the\paperheight);
\node [below left] at (current bounding box.north east)
{\includesvg[width=.2\paperwidth]{./images/TH_OWL_Logo_small}};
\node[above right] (0,0) {
\footnotesize
\hspace{.05\paperwidth}
\inserttitle \space | \insertauthor \space | \insertdate
};
\else
\node [below right] at (.55*\the\paperwidth,.6*\the\paperheight)
{\includesvg[width=.55\paperwidth]{./images/TH_OWL_Logo_tiny}};
\fi
\definecolor{th-red}{HTML}{E50043};
\fill[color=th-red] (0.5,0) rectangle(.05*\the\paperwidth,\the\paperheight);
\end{tikzpicture}
}
%\setbeamertemplate{footline}{
% \begin{tikzpicture}
% \useasboundingbox (0,0) rectangle(\th\paperwidth,.1*\the\paperheight);
% \ifnum\thpage>1\relax%
% \fi
% \end{tikzpicture}
%}
% Title page
\defbeamertemplate*{title page}{th-owl}[1][]
{
\begin{center}
\vspace{-.2\paperheight}
\Huge
\textbf{\inserttitle}\\
\vspace{.05\paperheight}
\Large
\insertsubtitle\\
\vspace{.1\paperheight}
\normalsize
\insertauthor\\
\vspace{.03\paperheight}
\insertdate
\end{center}
}
\mode <all>