prosem/beamerinnerthemeTUDo.sty

53 lines
1.5 KiB
Plaintext
Raw Normal View History

2022-03-31 16:46:30 +02:00
% Basierend auf dem LaTeX-Beamer-Theme der TU Dortmund
% Erstellt von Maximilian Nöthe <maximilian.noethe@tu-dortmund.de>
% Version 1.1 vom 27.5.2014
% Vielen Dank an Carsten Raas für seine Mithilfe
\mode<presentation>
% Blocks
\setbeamertemplate{blocks}[rounded][shadow=false]
\setbeamertemplate{theorems}[numbered]
% Items
\setbeamertemplate{sections/subsections in toc}[square]
\setbeamertemplate{items}[square]
\usepackage{xcolor,pgf}
% Title page
\defbeamertemplate*{title page}{TUDo}[1][]
{
\ifx\inserttitlegraphic\empty
\else
\begin{beamercolorbox}[ht=0.66\textheight, wd=\textwidth, center]{title page image}
\includegraphics[width=\textwidth, height=0.75\textheight,keepaspectratio]{\inserttitlegraphic} %keepaspectratio
\end{beamercolorbox}
\vspace{5pt}
\fi
%\hfill
\begin{center}
\Huge\textcolor{black}{\usebeamerfont{title}\inserttitle}
\end{center}
%\begin{beamercolorbox}[wd=\textwidth, rounded=true,backgroundcolor=\color{white}\pgfsetfillopacity{0.5}]{title page title}
% {\usebeamerfont{title}\inserttitle}
%\end{beamercolorbox}
\hfill
\vspace{5pt}
}
% Frame title
\defbeamertemplate*{frametitle}{TUDo}[1][0]
{
\begin{beamercolorbox}[wd=\textwidth]{frametitle}
\usebeamerfont{frametitle}\insertframetitle
\ifx\insertframesubtitle\empty
\else
\par\hspace{1pt}\usebeamerfont{framesubtitle}\insertframesubtitle
\fi
\end{beamercolorbox}
\vspace{-5pt}
}
\mode<all>