-
Notifications
You must be signed in to change notification settings - Fork 0
/
beamerthemeAltmittweida.sty
78 lines (71 loc) · 2.62 KB
/
beamerthemeAltmittweida.sty
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
\mode<presentation>
% \ProvidesPackage{sicim-pres}[presentation template for SICIM]
\beamertemplatenavigationsymbolsempty
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{tikz}
\renewcommand{\familydefault}{\sfdefault}
\RequirePackage[scaled=0.92]{helvet}
\definecolor{hsmw}{RGB}{00,105,179}
\setbeamercolor{title}{fg=hsmw}
\setbeamercolor{frametitle}{fg=hsmw}
\setbeamertemplate{footline}{\hspace{15pt}\vspace{12pt}\color{hsmw}\insertframenumber\hspace{9pt}\@author}
\renewcommand*{\title}[1]{\gdef\@title{#1}}
\renewcommand*{\@title}{title}
\newcommand*{\stitle}[1]{\gdef\@stitle{#1}}
\newcommand*{\@stitle}{kind of a subtitle}
\renewcommand*{\author}[1]{\gdef\@author{#1}}
\renewcommand*{\@author}{author}
\newcommand*{\group}[1]{\gdef\@group{#1}}
\newcommand*{\@group}{group}
\newcommand*{\cover}[1]{\gdef\@cover{#1}}
% \newcommand*{\@cover}{cover image}
\newif\ifesf
\newcommand{\esf}{\esftrue}
% Logo
\addtobeamertemplate{frametitle}{}{%
\begin{tikzpicture}[remember picture,overlay,at=(current page.south east),anchor=south east]
\node[at=(current page.south east),inner sep=12pt,yshift=-6pt,label={[font=\tiny, xshift=4pt, yshift=2pt]180:SICIM},label={[font=\tiny, xshift=4pt, yshift=-3.5pt]180:\@group},label={[font=\small, xshift=11pt, yshift=-0pt]180:|}] {
\includegraphics[height=0.06\paperheight]{hsmw-logo.pdf}};
\end{tikzpicture}}
\newcommand{\Romannumeral}[1]
{\MakeUppercase{\romannumeral #1}}
\renewcommand*{\titlepage}{%
\begin{frame}[noframenumbering,plain]
\thispagestyle{empty}
\ifesf{% ESF logo
\begin{tikzpicture}[remember picture,overlay,at=(current page.north west),anchor=north west]
\node[at=(current page.north west),inner sep=0pt]{\includegraphics[width=0.7\paperwidth]{esf.png}};
\end{tikzpicture}}
\fi
% HSMW logo
\begin{tikzpicture}[remember picture,overlay,at=(current page.north east),anchor=north east]
\node[at=(current page.north east),inner sep=0pt]{\includegraphics[height=0.24\paperheight]{hsmw.png}};
\end{tikzpicture}
% SICIM logo
\begin{tikzpicture}[remember picture,overlay,at=(current page.south east),anchor=south east]
\node[at=(current page.south east),inner sep=12pt]{\includegraphics[height=0.12\paperheight]{sicim_logo/light/Light@3x.png}};
\end{tikzpicture}
\color{hsmw}
\vspace*{\fill}
% \vspace{1cm}
\begin{columns}
\begin{column}{0.6\textwidth}
\Huge\textbf{\@title}\par
\Large\textbf{\@stitle}\par
\vspace*{\fill}
\color{black}
\normalsize{\@author}\par
\end{column}
\hspace{-2cm}
\begin{column}{0.5\columnwidth}
\ifdefined\@cover{%
\includegraphics[width=1.1\columnwidth]{\@cover}}
\fi
\end{column}
\end{columns}
\end{frame}
}
\endinput
\mode
<all>