-
Notifications
You must be signed in to change notification settings - Fork 0
/
beamerinnerthemeTuebingen.sty
81 lines (71 loc) · 2.56 KB
/
beamerinnerthemeTuebingen.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
\mode<presentation>
%% TimmLiTeX
%% Version: v0.9.1
%% Last modified: 2024-02-16 09:32:26
%% General settings
\setbeamertemplate*{background}{}
\setbeamerfont*{title}{size*={14}{16},series=\bfseries}
\setbeamerfont*{subtitle}{size*={12}{15},series=\upshape}
\setbeamerfont*{author}{size*={10}{12},series=\bfseries}
\setbeamerfont*{date}{size*={10}{12},series=\bfseries}
\setbeamertemplate{itemize item}{\color{black}$\bullet$}
\setbeamertemplate{itemize subitem}{\color{black}--}
\setbeamertemplate{itemize subsubitem}{\color{black}\tiny$\blacksquare$}
\setbeamertemplate{blocks}[default]
\setbeamerfont*{block title}{size=\normalsize}
\setbeamertemplate{section in toc}[square]
%% Bibliography settings: Change them in the BibLaTeX settings!
% \setbeamertemplate{bibliography item}{[\printfield{labelnumber}]} % insert label from bib(la)tex
% \setbeamertemplate{bibliography item}{\insertbiblabel} % insert label from bib(la)tex (Does not work when using authoryear.)
% \setbeamerfont{bibliography entry author}{size=\tiny}%
% \setbeamerfont{bibliography entry title}{size=\tiny}
% \setbeamerfont{bibliography entry journal}{size=\tiny}
% \setbeamerfont{bibliography entry note}{size=\tiny}
%% Title page
\defbeamertemplate*{title page}{Tuebingen}[1][t]
{
\thispagestyle{empty}
\setlength{\baselineskip}{11pt}
% \vskip-0.08\paperheight
\vskip0.042\paperheight
%% Title logo
\inserttitlelogo
\vskip-0.015\paperheight
{\color{UTgold}\vhrulefill{0.2pt}}
\vskip0.025\paperheight
%% Title graphic
\begin{beamercolorbox}[wd=\textwidth,ht=0.375\paperheight]{titlegraphic}
%% Savebox for \titlegraphic
%% In order to be able to directly include tikzpictures
\newsavebox\mytitlebox
\begin{lrbox}{\mytitlebox}
\begin{minipage}{\textwidth}
{\inserttitlegraphic}
\end{minipage}
\end{lrbox}
%% Autocrop \titlegraphic (inspired by https://tex.stackexchange.com/a/193558/61499)
\tikz\node[
minimum width=\textwidth,
minimum height=0.375\paperheight,
path picture={
\node at (path picture bounding box.center){
\usebox\mytitlebox
};
}]{};
\end{beamercolorbox}
\vskip-5pt
{\color{UTred}\rule{\textwidth}{7pt}}
\vskip0pt
%% Title, subtitle, author, date etc.
{\usebeamerfont{title}\usebeamercolor[fg]{title}\inserttitle\par}%
\vskip0.6ex
{\usebeamerfont{subtitle}\usebeamercolor[fg]{subtitle}\insertsubtitle}
\vskip0pt plus 1filll
\ifx\insertdate\@empty%
\else%
{\usebeamerfont{date}\usebeamercolor[fg]{date}\insertdate}, %
\fi
{\usebeamerfont{author}\usebeamercolor[fg]{author}\insertauthor}%
\par
}
\mode<all>