1 % Copyright of original theme (miniframe theme):
3 % Copyright 2003 by Till Tantau <tantau@users.sourceforge.net>
5 % This program can be redistributed and/or modified under the terms
6 % of the GNU Public License, version 2.
9 % Changes 2005, 2006 by Jens Brandt <brandt@ibr.cs.tu-bs.de>
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}
18 \def\beamer@theme@footline@empty{}
19 \def\beamer@theme@footline@authorinstitute{
20 \defbeamertemplate*{footline}{tubs theme}
22 \begin{beamercolorbox}[colsep=1.5pt]{upper separation line foot}
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}%
28 {\usebeamerfont{institute in head/foot}\usebeamercolor[fg]{institute in head/foot}\insertshortinstitute}%
30 \begin{beamercolorbox}[colsep=1.5pt]{lower separation line foot}
34 \def\beamer@theme@footline@authortitle{
35 \defbeamertemplate*{footline}{tubs theme}
37 \begin{beamercolorbox}[colsep=1.5pt]{upper separation line foot}
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}%
43 {\usebeamerfont{author in head/foot}\usebeamercolor[fg]{author in head/foot}\insertshortauthor}%
45 \begin{beamercolorbox}[colsep=1.5pt]{lower separation line foot}
49 \def\beamer@theme@footline@institutetitle{
50 \defbeamertemplate*{footline}{tubs theme}
52 \begin{beamercolorbox}[colsep=1.5pt]{upper separation line foot}
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}%
58 {\usebeamerfont{institute in head/foot}\usebeamercolor[fg]{institute in head/foot}\insertshortinstitute}%
60 \begin{beamercolorbox}[colsep=1.5pt]{lower separation line foot}
64 \def\beamer@theme@footline@authorinstitutetitle{
65 \defbeamertemplate*{footline}{tubs theme}
67 \begin{beamercolorbox}[colsep=1.5pt]{upper separation line foot}
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}%
73 {\usebeamerfont{institute in head/foot}\usebeamercolor[fg]{institute in head/foot}\insertshortinstitute}%
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}%
79 \begin{beamercolorbox}[colsep=1.5pt]{lower separation line foot}
84 \def\beamer@theme@footline@authorinstitutetitleframenumber{
85 \defbeamertemplate*{footline}{tubs theme}
87 \begin{beamercolorbox}[colsep=1.5pt]{upper separation line foot}
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}%
93 {\usebeamerfont{institute in head/foot}\usebeamercolor[fg]{institute in head/foot}\insertshortinstitute}%
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}%
99 {\usebeamerfont{title in head/foot}\insertframenumber}%
100 \end{beamercolorbox}%
101 \begin{beamercolorbox}[colsep=1.5pt]{lower separation line foot}
106 \def\beamer@theme@footline@authorinstituteframenumber{
107 \defbeamertemplate*{footline}{tubs theme}
109 \begin{beamercolorbox}[colsep=1.5pt]{upper separation line foot}
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}%
115 {\usebeamerfont{institute in head/foot}\insertshortinstitute}%
117 {\usebeamerfont{title in head/foot}\insertframenumber}%
118 \end{beamercolorbox}%
119 \begin{beamercolorbox}[colsep=1.5pt]{lower separation line foot}
124 \newif\ifbeamer@theme@subsection
125 \beamer@theme@subsectiontrue
127 \DeclareOptionBeamer{footline}{\csname beamer@theme@footline@#1\endcsname}
128 \DeclareOptionBeamer{subsection}[true]{\csname beamer@theme@subsection#1\endcsname}
129 \ProcessOptionsBeamer
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}
139 \defbeamertemplate*{headline}{tubs theme}
141 \begin{beamercolorbox}[colsep=1.5pt]{upper separation line head}
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}
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}%
155 \begin{beamercolorbox}[colsep=1.5pt]{lower separation line head}
159 \definecolor{dark-blue}{rgb}{0.12,0.23,0.62}
161 \setbeamercolor{structure}{fg=dark-blue}
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}
169 \setbeamercolor*{sidebar}{use=structure,bg=structure.fg}
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}
176 \setbeamercolor*{titlelike}{use=structure,fg=structure.fg}
178 \setbeamercolor*{separation line}{}
179 \setbeamercolor*{fine separation line}{}