anmerkungen präsentation
[seminar-bachelor.git] / beamerouterthemetubs.sty
1 % Copyright of original theme (miniframe theme):
2
3 % Copyright 2003 by Till Tantau <tantau@users.sourceforge.net>
4 %
5 % This program can be redistributed and/or modified under the terms
6 % of the GNU Public License, version 2.
7
8 %
9 % Changes 2005, 2006 by Jens Brandt <brandt@ibr.cs.tu-bs.de>
10 %
11
12 \setbeamercolor{section in head/foot}{parent=palette tertiary}
13 \setbeamercolor{subsection in head/foot}{parent=palette secondary}
14 \setbeamercolor{author in head/foot}{parent=subsection in head/foot}
15 \setbeamercolor{title in head/foot}{parent=section in head/foot}
16
17
18 \def\beamer@theme@footline@empty{}
19 \def\beamer@theme@footline@authorinstitute{
20 \defbeamertemplate*{footline}{tubs theme}
21 {%
22 \begin{beamercolorbox}[colsep=1.5pt]{upper separation line foot}
23 \end{beamercolorbox}
24 \begin{beamercolorbox}[ht=2.5ex,dp=1.125ex,%
25 leftskip=.3cm,rightskip=.3cm plus1fil]{author in head/foot}%
26 \leavevmode{\usebeamerfont{author in head/foot}\insertshortauthor}%
27 \hfill%
28 {\usebeamerfont{institute in head/foot}\usebeamercolor[fg]{institute in head/foot}\insertshortinstitute}%
29 \end{beamercolorbox}%
30 \begin{beamercolorbox}[colsep=1.5pt]{lower separation line foot}
31 \end{beamercolorbox}
32 }
33 }
34 \def\beamer@theme@footline@authortitle{
35 \defbeamertemplate*{footline}{tubs theme}
36 {%
37 \begin{beamercolorbox}[colsep=1.5pt]{upper separation line foot}
38 \end{beamercolorbox}
39 \begin{beamercolorbox}[ht=2.5ex,dp=1.125ex,%
40 leftskip=.3cm,rightskip=.3cm plus1fil]{title in head/foot}%
41 \leavevmode{\usebeamerfont{title in head/foot}\insertshorttitle}%
42 \hfill%
43 {\usebeamerfont{author in head/foot}\usebeamercolor[fg]{author in head/foot}\insertshortauthor}%
44 \end{beamercolorbox}%
45 \begin{beamercolorbox}[colsep=1.5pt]{lower separation line foot}
46 \end{beamercolorbox}
47 }
48 }
49 \def\beamer@theme@footline@institutetitle{
50 \defbeamertemplate*{footline}{tubs theme}
51 {%
52 \begin{beamercolorbox}[colsep=1.5pt]{upper separation line foot}
53 \end{beamercolorbox}
54 \begin{beamercolorbox}[ht=2.5ex,dp=1.125ex,%
55 leftskip=.3cm,rightskip=.3cm plus1fil]{title in head/foot}%
56 \leavevmode{\usebeamerfont{title in head/foot}\insertshorttitle}%
57 \hfill%
58 {\usebeamerfont{institute in head/foot}\usebeamercolor[fg]{institute in head/foot}\insertshortinstitute}%
59 \end{beamercolorbox}%
60 \begin{beamercolorbox}[colsep=1.5pt]{lower separation line foot}
61 \end{beamercolorbox}
62 }
63 }
64 \def\beamer@theme@footline@authorinstitutetitle{
65 \defbeamertemplate*{footline}{tubs theme}
66 {%
67 \begin{beamercolorbox}[colsep=1.5pt]{upper separation line foot}
68 \end{beamercolorbox}
69 \begin{beamercolorbox}[ht=2.5ex,dp=1.125ex,%
70 leftskip=.3cm,rightskip=.3cm plus1fil]{author in head/foot}%
71 \leavevmode{\usebeamerfont{author in head/foot}\insertshortauthor}%
72 \hfill%
73 {\usebeamerfont{institute in head/foot}\usebeamercolor[fg]{institute in head/foot}\insertshortinstitute}%
74 \end{beamercolorbox}%
75 \begin{beamercolorbox}[ht=2.5ex,dp=1.125ex,%
76 leftskip=.3cm,rightskip=.3cm plus1fil]{title in head/foot}%
77 {\usebeamerfont{title in head/foot}\insertshorttitle}%
78 \end{beamercolorbox}%
79 \begin{beamercolorbox}[colsep=1.5pt]{lower separation line foot}
80 \end{beamercolorbox}
81 }
82 }
83
84 \def\beamer@theme@footline@authorinstitutetitleframenumber{
85 \defbeamertemplate*{footline}{tubs theme}
86 {%
87 \begin{beamercolorbox}[colsep=1.5pt]{upper separation line foot}
88 \end{beamercolorbox}
89 \begin{beamercolorbox}[ht=2.5ex,dp=1.125ex,%
90 leftskip=.3cm,rightskip=.3cm plus1fil]{author in head/foot}%
91 \leavevmode{\usebeamerfont{author in head/foot}\insertshortauthor}%
92 \hfill%
93 {\usebeamerfont{institute in head/foot}\usebeamercolor[fg]{institute in head/foot}\insertshortinstitute}%
94 \end{beamercolorbox}%
95 \begin{beamercolorbox}[ht=2.5ex,dp=1.125ex,%
96 leftskip=.3cm,rightskip=.3cm plus1fil]{title in head/foot}%
97 {\usebeamerfont{title in head/foot}\insertshorttitle}%
98 \hfill%
99 {\usebeamerfont{title in head/foot}\insertframenumber}%
100 \end{beamercolorbox}%
101 \begin{beamercolorbox}[colsep=1.5pt]{lower separation line foot}
102 \end{beamercolorbox}
103 }
104 }
105
106 \def\beamer@theme@footline@authorinstituteframenumber{
107 \defbeamertemplate*{footline}{tubs theme}
108 {%
109 \begin{beamercolorbox}[colsep=1.5pt]{upper separation line foot}
110 \end{beamercolorbox}
111 \begin{beamercolorbox}[ht=2.5ex,dp=1.125ex,%
112 leftskip=.3cm,rightskip=.3cm plus1fil]{author in head/foot}%
113 \leavevmode{\usebeamerfont{author in head/foot}\insertshortauthor}%
114 \hfill%
115 {\usebeamerfont{institute in head/foot}\insertshortinstitute}%
116 \hfill%
117 {\usebeamerfont{title in head/foot}\insertframenumber}%
118 \end{beamercolorbox}%
119 \begin{beamercolorbox}[colsep=1.5pt]{lower separation line foot}
120 \end{beamercolorbox}
121 }
122 }
123
124 \newif\ifbeamer@theme@subsection
125 \beamer@theme@subsectiontrue
126
127 \DeclareOptionBeamer{footline}{\csname beamer@theme@footline@#1\endcsname}
128 \DeclareOptionBeamer{subsection}[true]{\csname beamer@theme@subsection#1\endcsname}
129 \ProcessOptionsBeamer
130
131
132 \mode<presentation>
133
134 \pgfdeclaremask{my-tu-logo-mask}{tu-logo-mask}
135 \pgfdeclareimage[interpolate=true,mask=my-tu-logo-mask,height=25pt]{my-tu-header}{tu-logo-white}
136
137
138 % Head
139 \defbeamertemplate*{headline}{tubs theme}
140 {%
141 \begin{beamercolorbox}[colsep=1.5pt]{upper separation line head}
142 \end{beamercolorbox}
143 \begin{beamercolorbox}[ht=36pt]{section in head/foot}
144 \hskip2pt\pgfuseimage{my-tu-header}
145 \vskip2pt\insertnavigation{\paperwidth}\vskip0.5pt
146 \end{beamercolorbox}%
147 \ifbeamer@theme@subsection%
148 \begin{beamercolorbox}[colsep=1.5pt]{middle separation line head}
149 \end{beamercolorbox}
150 \begin{beamercolorbox}[ht=2.5ex,dp=1.125ex,%
151 leftskip=.3cm,rightskip=.3cm plus1fil]{subsection in head/foot}
152 \usebeamerfont{subsection in head/foot}\insertsubsectionhead
153 \end{beamercolorbox}%
154 \fi%
155 \begin{beamercolorbox}[colsep=1.5pt]{lower separation line head}
156 \end{beamercolorbox}
157 }
158
159 \definecolor{dark-blue}{rgb}{0.12,0.23,0.62}
160
161 \setbeamercolor{structure}{fg=dark-blue}
162
163
164 \setbeamercolor*{palette primary}{use=structure,fg=black,bg=structure.fg!40!white}
165 \setbeamercolor*{palette secondary}{use=structure,fg=white,bg=structure.fg}
166 \setbeamercolor*{palette tertiary}{use=structure,fg=white,bg=structure.fg}
167 \setbeamercolor*{palette quaternary}{fg=white,bg=black}
168
169 \setbeamercolor*{sidebar}{use=structure,bg=structure.fg}
170
171 \setbeamercolor*{palette sidebar primary}{use=structure,fg=structure.fg!10}
172 \setbeamercolor*{palette sidebar secondary}{fg=white}
173 \setbeamercolor*{palette sidebar tertiary}{use=structure,fg=structure.fg!50}
174 \setbeamercolor*{palette sidebar quaternary}{fg=white}
175
176 \setbeamercolor*{titlelike}{use=structure,fg=structure.fg}
177
178 \setbeamercolor*{separation line}{}
179 \setbeamercolor*{fine separation line}{}
180
181 \mode
182 <all>
183
This page took 0.052359 seconds and 5 git commands to generate.