-
Notifications
You must be signed in to change notification settings - Fork 0
/
beamerouterthemeBielefeld.sty
82 lines (74 loc) · 2.44 KB
/
beamerouterthemeBielefeld.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
\mode<presentation>
%% TimmLiTeX
%% Version: v0.9.1
%% Last modified: 2024-02-16 09:32:26
\setbeamertemplate{navigation symbols}{}
\defbeamertemplate*{sidebar}{Bielefeld}{}
% Frame title
\setbeamercolor{frametitle}{fg=black}
\setbeamerfont{frametitle}{size=\large,series=\bfseries}
% \defbeamertemplate*{frametitle}{Bielefeld}[1][]
% {
% \vspace*{2mm}
% \usebeamerfont{frametitle}\insertframetitle
% \vspace*{-1.5mm}
% }
% \defbeamertemplate*{headline}{Bielefeld} %headline format
% {
% \vspace*{2.5mm}
% \begin{beamercolorbox}[wd=\paperwidth,leftskip=1.01cm,rightskip=1.01cm]
% {headline}
% \hspace*{0mm}
% \insertheadlinelogo
% \end{beamercolorbox}
% }
\defbeamertemplate*{frametitle}{Bielefeld}[1][left] % inspired by the definition of the default frametitle
{%
% \ifbeamercolorempty[bg]{frametitle}{}{\nointerlineskip}%
% \@tempdima=\textwidth%
% \advance\@tempdima by\beamer@leftmargin%
% \advance\@tempdima by\beamer@rightmargin%
\hspace{-0.475cm} %due to sep in beamercolorbox
\begin{beamercolorbox}[sep=0.35cm,#1,wd=.82\textwidth]{frametitle}
\usebeamerfont{frametitle}%
% \vbox{}\vskip-1ex%
\vbox{}\vskip-0.8ex%
\if@tempswa\else\csname beamer@fte#1\endcsname\fi%
\strut\insertframetitle\strut\par%
{%
\ifx\insertframesubtitle\@empty%
\else%
{\usebeamerfont{framesubtitle}\usebeamercolor[fg]{framesubtitle}\insertframesubtitle\strut\par}%
\fi
}%
\vskip-1ex%
\if@tempswa\else\vskip-.3cm\fi% set inside beamercolorbox... evil here...
\end{beamercolorbox}%
}
\addtobeamertemplate{frametitle}{}{%
\begin{tikzpicture}[remember picture,overlay]
\node[anchor=north east,xshift=-0.5cm,yshift=0.2ex] at (current page.north east) {\insertheadlinelogo};
% \node[anchor=north west,xshift=0.8cm,yshift=0.2ex] at (current page.north west) {\insertheadlinelogo};
\end{tikzpicture}}
\setbeamerfont{footline}{size=\tiny}
\defbeamertemplate*{footline}{Bielefeld} %footline format
{
\begin{beamercolorbox}[wd=\paperwidth,leftskip=1cm,rightskip=1cm]
{footline}
{\color{UBlightgreen}\vhrulefill{0.2pt}}
\end{beamercolorbox} \begin{beamercolorbox}[wd=\paperwidth,leftskip=1cm,rightskip=1cm,ht=0.37cm,dp=0.25cm]{footline}
~\insertframenumber{} | %
\insertshortauthor%
\ifx\insertinstitute\@empty%
\else%
\ (\insertshortinstitute)%
\fi%
, \insertshorttitle%
\ifx\insertdate\@empty%
\else%
, \insertshortdate
\fi
% \fussnote \hfill \crtext \hspace*{20mm}
\end{beamercolorbox}
}
\mode<all>