56 lines
1.7 KiB
TeX
56 lines
1.7 KiB
TeX
\mode<presentation>
|
|
% Requirement
|
|
\RequirePackage{tikz}
|
|
|
|
\setbeamertemplate{background}{
|
|
\begin{tikzpicture}
|
|
\useasboundingbox (0,0) rectangle(\the\paperwidth,\the\paperheight);
|
|
\ifnum\insertframenumber>1\relax%
|
|
\fill[white,opacity=1] (0,0) rectangle(\the\paperwidth,\the\paperheight);
|
|
\node [below left] at (current bounding box.north east)
|
|
{\includesvg[width=.15\paperwidth]{./images/TH_OWL_Logo_small}};
|
|
\node[below right] at (current bounding box.north west) {
|
|
\footnotesize
|
|
\hspace{.05\paperwidth}
|
|
{\tiny\inserttitle \space | \insertshortauthor \space | \insertdate}
|
|
};
|
|
\node[above left] at (current bounding box.south east) {
|
|
{\huge\insertframenumber}
|
|
};
|
|
\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}{ed114c};
|
|
\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{.08\paperheight}
|
|
\normalsize
|
|
\insertauthor\\
|
|
\vspace{.03\paperheight}
|
|
\insertdate
|
|
\end{center}
|
|
}
|
|
|
|
\mode <all>
|