📚 The CoCalc Library - books, templates and other resources
cocalc-examples / martinthoma-latex-examples / presentations / Bachelor-Final-Presentation / templates / beamerthemekit.sty
132941 viewsLicense: OTHER
%% LaTeX-Beamer template for KIT design1%% Widescreen2%% by Erik Burger, Christian Hammer, David Dauer3%% title picture by Klaus Krogmann4%%5%% version 2.2 for Beamer v3.306%%7%% mostly compatible to KIT corporate design v2.08%% http://intranet.kit.edu/gestaltungsrichtlinien.php9%%10%% Problems, bugs and comments to11%% [email protected]1213\usepackage{../templates/beamerthemekitbase}1415\setbeamertemplate{title page}16{17\thispagestyle{empty}1819%middle block with name of institute20\begin{textblock*}{\paperwidth}(1mm,42mm)21\begin{pgfpicture}{0mm}{0mm}{\paperwidth-2mm}{6mm}22\color{black!50}23\pgfpathrectangle{\pgfpoint{0mm}{0mm}}{\pgfpoint{\paperwidth-2mm}{6mm}}24\pgfusepath{fill}25\pgftext[at=\pgfpoint{5mm}{3mm},left,center]{\textcolor{white}{\tiny\uppercase\expandafter{\insertinstitute}}}26\end{pgfpicture}27\end{textblock*}282930%elements on title page3132%KIT logo33\begin{textblock*}{24mm}(6mm,5mm)34\iflanguage{english}{%35\includegraphics[width=23mm]{logos/kitlogo_en_rgb}36}{%37\includegraphics[width=23mm]{logos/kitlogo_de_rgb}38}%39\end{textblock*}4041%institute logo42\begin{textblock*}{20mm}(104mm,4mm)43\includegraphics[width=20mm]{logos/\@titlelogo}44\end{textblock*}4546%title47\begin{textblock*}{120mm}(6mm,14mm)48\begin{beamercolorbox}[wd=118mm,ht=14mm,dp=3mm,left]{white}%49\Large\textbf{\inserttitle}50\end{beamercolorbox}51\end{textblock*}5253%subtitle54\begin{textblock*}{120mm}(6mm,31mm)55\scriptsize \insertsubtitle56\end{textblock*}5758%author59\begin{textblock*}{120mm}(6mm,35mm)60\scriptsize\insertauthor~\textbar~\insertshortdate61\end{textblock*}6263%legal KIT text64\begin{textblock*}{80mm}[0,1](6mm,94mm)65\fontsize{4pt}{6pt}\selectfont66\iflanguage{english}{67KIT -- University of the State of Baden-Wuerttemberg and\\National Laboratory of the Helmholtz Association}68{KIT -- Universit{\"a}t des Landes Baden-W{\"u}rttemberg und\\nationales Forschungszentrum in der Helmholtz-Gemeinschaft}69\end{textblock*}7071\begin{textblock*}{16mm}(110mm,90mm)72\fontsize{8pt}{8pt}\selectfont73\bfseries74\textcolor{white}{75\href{http://www.kit.edu}{www.kit.edu}76}77\end{textblock*}7879% title image8081\begin{textblock*}{\paperwidth}(1mm,48.5mm)82\begin{overpic}[width=126mm,height=40mm]{logos/\@titleimage}83\put(-6,-3){84%mask curve for lower left corner of title image85\begin{pgfpicture}{0mm}{0mm}{3mm}{3mm}86\pgfpathqmoveto{0mm}{0mm}87\pgfpathlineto{\pgfpoint{3mm}{0mm}}88\pgfpathlineto{\pgfpoint{3mm}{1mm}}8990{\pgfsetcornersarced{\pgfpoint{2mm}{2mm}}91\pgfpathlineto{\pgfpoint{1mm}{1mm}}92\pgfpathlineto{\pgfpoint{1mm}{3mm}}}9394\pgfpathmoveto{\pgfpoint{1mm}{3mm}}95\pgfpathlineto{\pgfpoint{0mm}{3mm}}96\pgfpathlineto{\pgfpoint{0mm}{0mm}}97\pgfpathclose9899\color{black!15}100\pgfusepath{fill}101\end{pgfpicture}102}103\end{overpic}104\end{textblock*}105106}107108%background for pages109%CH: for plain frames110\newlength{\kitbottom}%111\usebackgroundtemplate{112\setlength{\kitbottom}{\ifbeamer@plainframe1mm\else9mm\fi}%113\begin{pgfpicture}{0mm}{0mm}{\paperwidth}{\paperheight}114115{\pgfsetcornersarced{\pgfpoint{2mm}{2mm}}116\pgfpathmoveto{\pgfpoint{\paperwidth-1mm}{\kitbottom}}117\pgfpathlineto{\pgfpoint{1mm}{\kitbottom}}118\pgfpathlineto{\pgfpoint{1mm}{\paperheight-1mm}}}119120{\pgfsetcornersarced{\pgfpoint{2mm}{2mm}}121\pgfpathmoveto{\pgfpoint{1mm}{\paperheight-1mm}}122\pgfpathlineto{\pgfpoint{\paperwidth-1mm}{\paperheight-1mm}}123\pgfpathlineto{\pgfpoint{\paperwidth-1mm}{\kitbottom}}}124125\color{white}126\pgfusepath{fill}127128\end{pgfpicture}%129}130131%frametitle132\setbeamertemplate{frametitle}133{134\vspace{2mm} %\hspace*{-4mm}135\vbox{\hsize=9cm\bfseries\insertframetitle}136137\begin{textblock*}{15mm}(108mm,4mm)138\iflanguage{english}{%139\includegraphics[width=14mm]{logos/kitlogo_en_rgb}140}{%141\includegraphics[width=14mm]{logos/kitlogo_de_rgb}142}%143144\end{textblock*}145146% obsolete as of KIT-CD v2.0147%\begin{textblock*}{1.5mm}(1mm,1mm)148%\begin{pgfpicture}{0mm}{0mm}{1.5mm}{9mm}149%\color{kit-green100}150%\pgfpathrectangle{\pgfpoint{0mm}{0mm}}{\pgfpoint{1.5mm}{9mm}}151%\pgfusepath{fill}152%\end{pgfpicture}%153%\end{textblock*}154155}156157158\setbeamertemplate{headline}159{160}161162%footer163\setbeamertemplate{footline}164{165\vskip.4mm166\begin{beamercolorbox}[ht=2.2mm, dp=3mm]{section in head/foot}167%include mini frame navigation168\insertnavigation{\paperwidth}169\vskip -2.2mm170\end{beamercolorbox}171172\hbox{173\begin{beamercolorbox}[wd=0.7\textwidth,ht=2.2mm,dp=2mm,left,leftskip=1.3em]{author in head/foot}%174\usebeamerfont{author in head/foot}%175\insertshortauthor\hspace{2.5pt}--\hspace{2.5pt}\insertshorttitle176\end{beamercolorbox}%177\begin{beamercolorbox}[wd=0.2\textwidth,ht=2.2mm,dp=2mm,center]{title in head/foot}%178\usebeamerfont{title in head/foot}%179\insertshortdate180\end{beamercolorbox}%181\begin{beamercolorbox}[wd=0.05\paperwidth,ht=2.2mm,dp=2mm,right]{date in head/foot}%182\usebeamerfont{date in head/foot}%183\insertframenumber{}/\inserttotalframenumber184\end{beamercolorbox}%185186}187\vskip -0.75mm188}189190191