optimized slide templates

This commit is contained in:
Marcus Müller
2020-02-27 16:39:34 +01:00
parent ef881ba0ff
commit c996c3f235
6 changed files with 1108 additions and 1089 deletions

View File

@@ -72,7 +72,7 @@ KIT -- University of the State of Baden-Wuerttemberg and\\National Laboratory of
\fontsize{8pt}{8pt}\selectfont
\bfseries
\textcolor{white}{
\href{http://www.kit.edu}{www.kit.edu}
\href{https://www.kit.edu}{www.kit.edu}
}
\end{textblock*}

View File

@@ -21,93 +21,94 @@
\setbeamertemplate{title page}
{
\thispagestyle{empty}
\thispagestyle{empty}
%middle block with name of institute
\begin{textblock*}{\paperwidth}(1mm,47mm)
\begin{pgfpicture}{0mm}{0mm}{\paperwidth-2mm}{6mm}
\color{black!50}
\pgfpathrectangle{\pgfpoint{0mm}{0mm}}{\pgfpoint{\paperwidth-2mm}{6mm}}
\pgfusepath{fill}
\pgftext[at=\pgfpoint{5mm}{3mm},left,center]{\textcolor{white}{\tiny\uppercase\expandafter{\insertinstitute}}}
\end{pgfpicture}
\end{textblock*}
% middle block with name of institute
\begin{textblock*}{\paperwidth}(1mm,47mm)
\begin{pgfpicture}{0mm}{0mm}{\paperwidth-2mm}{6mm}
\color{black!50}
\pgfpathrectangle{\pgfpoint{0mm}{0mm}}{\pgfpoint{\paperwidth-2mm}{6mm}}
\pgfusepath{fill}
\pgftext[at=\pgfpoint{5mm}{4mm},left,center]{\textcolor{white}{\tiny\expandafter{\insertinstitute}}}
\pgftext[at=\pgfpoint{5mm}{2mm},left,center]{\textcolor{white}{\tiny\expandafter{Prof. Dr.-Ing. Laurent Schmalen}}}
\end{pgfpicture}
\end{textblock*}
%elements on title page
% elements on title page
%KIT logo
\begin{textblock*}{24mm}(6mm,5mm)
\iflanguage{english}{%
\includegraphics[width=23mm]{logos/kitlogo_en_rgb}
}{%
\includegraphics[width=23mm]{logos/kitlogo_de_rgb}
}%
\end{textblock*}
% KIT logo
\begin{textblock*}{24mm}(6mm,5mm)
\iflanguage{english}{%
\includegraphics[width=23mm]{logos/kitlogo_en_rgb}
}{%
\includegraphics[width=23mm]{logos/kitlogo_de_rgb}
}%
\end{textblock*}
%institute logo
\begin{textblock*}{20mm}(150mm,4mm)
\includegraphics[width=15mm]{logos/\@titlelogo}
\end{textblock*}
% institute logo
\begin{textblock*}{20mm}(150mm,4mm)
\includegraphics[width=15mm]{logos/\@titlelogo}
\end{textblock*}
%title
\begin{textblock*}{160mm}(6mm,19mm)
\begin{beamercolorbox}[wd=118mm,ht=14mm,dp=3mm,left]{white}%
\Large\textbf{\inserttitle}
\end{beamercolorbox}
\end{textblock*}
% title
\begin{textblock*}{160mm}(6mm,19mm)
\begin{beamercolorbox}[wd=118mm,ht=14mm,dp=3mm,left]{white}%
\Large\textbf{\inserttitle}
\end{beamercolorbox}
\end{textblock*}
%subtitle
\begin{textblock*}{160mm}(6mm,36mm)
\scriptsize \insertsubtitle
\end{textblock*}
% subtitle
\begin{textblock*}{160mm}(6mm,36mm)
\scriptsize \insertsubtitle
\end{textblock*}
%author
\begin{textblock*}{160mm}(6mm,40mm)
\scriptsize\insertauthor~\textbar~\insertshortdate
\end{textblock*}
% author
\begin{textblock*}{160mm}(6mm,40mm)
\scriptsize\insertauthor~\textbar~\insertshortdate
\end{textblock*}
%legal KIT text
\begin{textblock*}{80mm}[0,1](6mm,94.5mm)
\fontsize{4pt}{6pt}\selectfont
\iflanguage{english}{
KIT -- University of the State of Baden-Wuerttemberg and National Laboratory of the Helmholtz Association}
{KIT -- Universit{\"a}t des Landes Baden-W{\"u}rttemberg und nationales Forschungszentrum in der Helmholtz-Gemeinschaft}
\end{textblock*}
% legal KIT text
\begin{textblock*}{80mm}[0,1](6mm,94.5mm)
\fontsize{4pt}{6pt}\selectfont
\iflanguage{english}{
KIT -- University of the State of Baden-Wuerttemberg and National Laboratory of the Helmholtz Association}
{KIT -- Universit{\"a}t des Landes Baden-W{\"u}rttemberg und nationales Forschungszentrum in der Helmholtz-Gemeinschaft}
\end{textblock*}
\begin{textblock*}{16mm}(137mm,90mm)
\fontsize{8pt}{8pt}\selectfont
\bfseries
\textcolor{white}{
\href{http://www.kit.edu}{www.kit.edu}
}
\end{textblock*}
\begin{textblock*}{16mm}(155mm,93mm)
\fontsize{8pt}{8pt}\selectfont
\bfseries
\textcolor{white}{
\href{https://www.kit.edu}{www.kit.edu}
}
\end{textblock*}
% title image
% title image
\begin{textblock*}{\paperwidth}(1mm,53.5mm)
\begin{overpic}[width=168.7mm,height=40mm]{logos/\@titleimage_wide}
\put(-2,-1){
%mask curve for lower left corner of title image
\begin{pgfpicture}{0mm}{0mm}{3mm}{3mm}
\pgfpathqmoveto{0mm}{0mm}
\pgfpathlineto{\pgfpoint{3mm}{0mm}}
\pgfpathlineto{\pgfpoint{3mm}{1mm}}
\begin{textblock*}{\paperwidth}(1mm,53.5mm)
\begin{overpic}[width=168.7mm,height=38mm]{logos/\@titleimage_wide}
\put(-2,-1){
% mask curve for lower left corner of title image
\begin{pgfpicture}{0mm}{0mm}{3mm}{3mm}
\pgfpathqmoveto{0mm}{0mm}
\pgfpathlineto{\pgfpoint{3mm}{0mm}}
\pgfpathlineto{\pgfpoint{3mm}{1mm}}
{\pgfsetcornersarced{\pgfpoint{2mm}{2mm}}
\pgfpathlineto{\pgfpoint{1mm}{1mm}}
\pgfpathlineto{\pgfpoint{1mm}{3mm}}}
{\pgfsetcornersarced{\pgfpoint{2mm}{2mm}}
\pgfpathlineto{\pgfpoint{1mm}{1mm}}
\pgfpathlineto{\pgfpoint{1mm}{3mm}}}
\pgfpathmoveto{\pgfpoint{1mm}{3mm}}
\pgfpathlineto{\pgfpoint{0mm}{3mm}}
\pgfpathlineto{\pgfpoint{0mm}{0mm}}
\pgfpathclose
\pgfpathmoveto{\pgfpoint{1mm}{3mm}}
\pgfpathlineto{\pgfpoint{0mm}{3mm}}
\pgfpathlineto{\pgfpoint{0mm}{0mm}}
\pgfpathclose
\color{black!15}
\pgfusepath{fill}
\end{pgfpicture}
}
\end{overpic}
\end{textblock*}
\color{black!15}
\pgfusepath{fill}
\end{pgfpicture}
}
\end{overpic}
\end{textblock*}
}
@@ -115,7 +116,7 @@ KIT -- University of the State of Baden-Wuerttemberg and National Laboratory of
%CH: for plain frames
\newlength{\kitbottom}
\usebackgroundtemplate{
\setlength{\kitbottom}{\ifbeamer@plainframe1mm\else4mm\fi}%
\setlength{\kitbottom}{\ifbeamer@plainframe1mm\else9mm\fi}%
\begin{pgfpicture}{0mm}{0mm}{\paperwidth}{\paperheight}
{\pgfsetcornersarced{\pgfpoint{2mm}{2mm}}
@@ -167,18 +168,36 @@ KIT -- University of the State of Baden-Wuerttemberg and National Laboratory of
%footer
\setbeamertemplate{footline}
{
\begin{beamercolorbox}[wd=0.7\textwidth,ht=2.2mm,dp=1.5mm,leftskip=1.3em,rightskip=.5em]{author in head/foot}%
\usebeamerfont{author in head/foot}%
\fontsize{4pt}{6pt}\selectfont
\iflanguage{english}{
KIT -- University of the State of Baden-Wuerttemberg and National Laboratory of the Helmholtz Association}
{KIT -- Universit{\"a}t des Landes Baden-W{\"u}rttemberg und nationales Forschungszentrum in der Helmholtz-Gemeinschaft}
%\vskip1mm
\begin{beamercolorbox}[wd=0.2\textwidth,ht=2mm,dp=4.75mm,leftskip=1.3em,rightskip=.5em]{title in head/foot}%
\usebeamerfont{author in head/foot}%
% Date and frame number
\textbf{\insertframenumber{}} \hspace{10pt} \insertshortdate
\end{beamercolorbox}%
\vspace*{-4mm}\hspace*{0.7\textwidth}%
\begin{beamercolorbox}[wd=0.3\textwidth,ht=2.2mm,dp=1.5mm,left,leftskip=.5em]{title in head/foot}%
\usebeamerfont{title in head/foot}%
\hfill\insertshortdate\hspace{30pt}\insertframenumber{}/\inserttotalframenumber
\vspace*{-5.5mm}\hspace*{0.15\textwidth}%
\begin{beamercolorbox}[wd=0.33\textwidth,ht=2mm,dp=3.5mm,leftskip=-8.3em,rightskip=.5em]{title in head/foot}%
\usebeamerfont{title in head/foot}%
% Title
%\insertshorttitle
\begin{tabular}{l}
\insertshorttitle \\
\insertshortauthor
\end{tabular}
\end{beamercolorbox}%
%\vspace*{-7.2mm}\hspace*{0.25\textwidth}%
\begin{beamercolorbox}[wd=0.42\textwidth,ht=2mm,dp=3.5mm,leftskip=1.3em,rightskip=.5em]{title in head/foot}%
\usebeamerfont{title in head/foot}%
% Title
\begin{tabular}{r}
Communications Engineering Lab \\
Prof. Dr.-Ing. Laurent Schmalen
\end{tabular}
\end{beamercolorbox}%
\begin{beamercolorbox}[wd=0\textwidth,ht=2mm,dp=1.5mm,leftskip=2.0em,rightskip=.05em]{title in head/foot}%
\usebeamerfont{title in head/foot}%
% Title
\vspace*{-2.8mm}\hspace*{-0.6mm}%
\includegraphics[height=6.75mm]{logos/CEL_logo.pdf}
\end{beamercolorbox}%
}