-
Notifications
You must be signed in to change notification settings - Fork 0
/
beamerinnerthemeDHBW.sty
88 lines (74 loc) · 2.19 KB
/
beamerinnerthemeDHBW.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
79
80
81
82
83
84
85
86
87
88
\mode<presentation>
% Templates
\setbeamertemplate{itemize items}[circle]
\setbeamertemplate{enumerate items}[circle]
\beamertemplatenavigationsymbolsempty
% Variables
\newlength{\titlelogoheight}
\setlength{\titlelogoheight}{0.4\paperheight}
\newlength{\titleheaderheight}
\setlength{\titleheaderheight}{0.3\paperheight}
\newlength{\titlefooterheight}
\setlength{\titlefooterheight}{0.3\paperheight}
\setbeamercolor{tricolor1}{fg=white,bg=dhbw-gray-75}
\setbeamercolor{tricolor2}{fg=white,bg=dhbw-mix}
\setbeamercolor{tricolor3}{fg=white,bg=dhbw-red}
% Pages
\AtBeginDocument
{
\begin{frame}[plain]
\begin{beamercolorbox}[wd=\paperwidth,ht=\titlelogoheight,left,dp=0pt]{title header}
\vbox to \titlelogoheight
{
{
\vspace{10pt}
\hspace{10pt}
\includegraphics{DHBW.pdf}
}
\vfil
}
\end{beamercolorbox}
\begin{beamercolorbox}[wd=\paperwidth,ht=\titleheaderheight,left,dp=0pt]{title header}
\vbox to \titleheaderheight
{
\vfil
{
\color{dhbw-gray}
\hspace{50pt}
{\usebeamerfont{title}\inserttitle}
\ifx\insertsubtitle\@empty
\else
\par\medskip
\hspace{65pt}
{\usebeamerfont{subtitle}\insertsubtitle}
\fi
\par\medskip
\hspace{65pt}
{\usebeamerfont{author}\insertauthor}
---
{\usebeamerfont{date}\insertdate}
\par\medskip
}
}
\end{beamercolorbox}
\begin{beamercolorbox}[wd=\paperwidth,ht=\titlefooterheight,center,dp=0pt]{title footer}
\vbox to \titlefooterheight
{
\vfil
{
\begin{beamercolorbox}[wd=\paperwidth,ht=4.5ex,center,dp=0pt]{tricolor1}
\end{beamercolorbox}%
\nointerlineskip%
\begin{beamercolorbox}[wd=\paperwidth,ht=2.5ex,center,dp=0pt]{tricolor2}
\vbox to 2.5ex {\vfil\insertinstitute\vfil}
\end{beamercolorbox}%
\nointerlineskip%
\begin{beamercolorbox}[wd=\paperwidth,ht=4.5ex,center,dp=0pt]{tricolor3}
\end{beamercolorbox}
}
\vfil
}
\end{beamercolorbox}
\end{frame}
}
\mode<all>