forked from joulz/beamer-tum
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbeamer-presentation.tex
executable file
·269 lines (231 loc) · 6.26 KB
/
beamer-presentation.tex
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
\documentclass{beamer}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{helvet}
%if you present in German, you have to swap these values
\usepackage[ngerman,english]{babel}
%cool smartdiagrams
\usepackage{smartdiagram}
\usesmartdiagramlibrary{additions}
%for mathfont
\usefonttheme[onlymath]{serif}
%colortheme
\usecolortheme{tum}
\useoutertheme[footline=authortitle,subsection=false]{miniframes}
%font
\setbeamerfont{author}{size=\footnotesize}
\setbeamerfont{date}{size=\scriptsize}
%for itemize
\usepackage{enumitem}
\setitemize{label=\usebeamerfont*{itemize item}%
\usebeamercolor[fg]{itemize item}
\usebeamertemplate{itemize item}}
\setlist[itemize,1]{leftmargin=2em}
\useinnertheme{rectangles}
\usepackage{pgf}
\usepackage{tikz}
\setbeamertemplate{frametitle}
{
\nointerlineskip
\begin{beamercolorbox}[sep=0.3cm,rightskip=2cm,wd=\paperwidth]{frametitle}
\usebeamerfont{frametitle}
\vbox{}\vskip-1ex
\strut\insertframetitle\strut
\hfill
\vskip-0.8ex
\end{beamercolorbox}
}
\addtobeamertemplate{frametitle}{}{
\begin{tikzpicture}[remember picture,overlay]
\node[anchor=north east,yshift=-0.45cm] at (current page.north east) {\includegraphics[width=0.35\textwidth]{figures/TH-Nuernberg-RGB.png}};
\end{tikzpicture}
}
%for the logo in the upper right corner
\usepackage{textpos}
\titlegraphic{
\begin{beamercolorbox}[wd=\paperwidth,dp=1ex, ht=5.5ex, sep=1.5ex, colsep*=0pt]{frametitle}%
\usebeamerfont{frametitle} \strut \insertframetitle \hfill \raisebox{-1.5ex}[0pt][-\ht\strutbox ]{ \includegraphics[width=0.35\textwidth]{figures/TH-Nuernberg-RGB.png}}
\end{beamercolorbox}%
}
\setbeamertemplate{title page}
{
\usebeamercolor[fg]{titlegraphic}\inserttitlegraphic\par
\vbox{}
\vfill
\begin{flushleft}
\begin{beamercolorbox}[sep=8pt,left]{title}
\usebeamerfont{title}\inserttitle\par%
\ifx\insertsubtitle\@empty%
\else%
\vskip0.25em%
{\usebeamerfont{subtitle}\usebeamercolor[fg]{subtitle}\insertsubtitle\par}%
\fi%
\end{beamercolorbox}%
\vskip1em\par
\begin{beamercolorbox}[sep=8pt,left]{author}
\usebeamerfont{author}\insertauthor
\end{beamercolorbox}
\begin{beamercolorbox}[sep=8pt,left]{institute}
\usebeamerfont{institute}\insertinstitute
\end{beamercolorbox}
\begin{beamercolorbox}[sep=8pt,left]{date}
\usebeamerfont{date}\insertdate
\end{beamercolorbox}\vskip0.5em
\end{flushleft}
\vfill
}
\mode<presentation>
\title[Your Super Fancy Title]{Your Super Fancy Title}
\subtitle{Bachelorthesis in Computer Science}
\author{Your Name}
\institute[]{Fakultät Informatik}
\date{21th February 2020}
%fuer fancy overlay graphics
\def\Put(#1,#2)#3{\leavevmode\makebox(0,0){\put(#1,#2){#3}}}
%fuer tables mit bildern
\usepackage{tabularx}
\usepackage{caption}
\setbeamerfont{caption}{size=\scriptsize}
\captionsetup{justification=centering}
%%for table input
\usepackage{booktabs}
\usepackage{adjustbox}
%%
% mindblowing things happen
% itemize items on the same height
\newcommand\parallelcontent[2]{
\begin{columns}[t]
\column{0.5\textwidth} #1
\column{0.5\textwidth} #2
\end{columns}
}
\newcommand\parallelitem[2]{
\parallelcontent
{\begin{itemize} \item #1 \end{itemize}}
{\begin{itemize} \item #2 \end{itemize}}
}
%font size caption
\setbeamerfont{caption}{series=\tiny,size=\fontsize{14}{16}}
\begin{document}
\begin{frame}
\titlepage
\end{frame}
\begin{frame}[c]{}
\centering
\vspace{-3em}
\frametitle{Contents}
\smartdiagramset{
planet size=2cm,
planet text width=3cm,
planet font=\large,
satellite size=1.8cm,
satellite text width=2cm,
satellite font=\normalsize,
distance planet-text=0,
distance planet-satellite=3.5cm,
/tikz/connection planet satellite/.append style={<-},
set color list={red!40 , cyan!40 , blue!40 , green!40 , orange!60 , yellow!60 , magenta!40 , brown!40 , violet!40}
}
\begin{center}
\scalebox{0.75}{
\smartdiagramset{planet color=orange!60}
\smartdiagramanimated[connected constellation diagram]
{Center,
One,
Two,
Three,
Four,
Five,
Awesome
}
}
\end{center}
\end{frame}
\begin{frame}[t]
\frametitle{Daten}
Classical Itemize
\begin{itemize}
\item Item1
\item Item2
\begin{itemize}
\item Item2.1
\item Item2.2 and cite something for fun \cite{Goodliffe2007}
\end{itemize}
\item Item3
\end{itemize}
\end{frame}
\begin{frame}[t]
\frametitle{Cool Function}
Pearson Correlation Coefficient
%
\begin{align}
r _ { x y } = \frac { \sum\limits _ { i = 1 } ^ { n } ( x _ { i } - \overline { x } ) ( y _ { i } - \overline { y } ) } { \sqrt { \sum\limits _ { i = 1 } ^ { n } ( x _ { i } - \overline { x } ) ^ { 2 } \cdot \sum\limits _ { i = 1 } ^ { n } ( y _ { i } - \overline { y } ) ^ { 2 } } }
\end{align}
%
\end{frame}
\begin{frame}[t]{}
\frametitle{Your toooooooo \\looooooong Title}
\begin{center}
\vspace{-2em}
\scalebox{0.8}{
\smartdiagramset{planet color=orange!60}
\smartdiagramanimated[bubble diagram]
{ Center,
Something\\Cool,
Another\\Fact,
Last Fact
}}
\end{center}
\end{frame}
\begin{frame}[t]
\frametitle{Seperate Images \\Side by Side}
\vspace{-2em}
\begin{center}
\begin{tabularx}{\columnwidth}{>{\centering\arraybackslash}X>{\centering\arraybackslash}X}
\large Macro Location & \large Mikro Location \\
\includegraphics[width=0.4\textwidth]{figures/zip_ger_compr} \captionof{figure}{ Figure 1}
&
\includegraphics[width=0.4\textwidth]{figures/three_radii_fig_poster_v2}\captionof{figure}{Figure 2} \\
\end{tabularx}
\end{center}
\end{frame}
\begin{frame}[t]
\frametitle{Side by Side Iteration}
\small
\centering
\parallelcontent
{Cool Stuff}
{Fancy Stuff}
\parallelitem
{Very long long long long long long long long long long long long long long long long text}
{Short text}
\parallelitem
{Stuff}
{Other stuff}
\parallelitem
{Another stuff}
{Other another stuff}
\end{frame}
\begin{frame}[allowframebreaks, t]
\frametitle{Bibliography}
\vspace{-1.9em}
\tiny
%bib
\setbeamertemplate{bibliography item}[text]
\bibliographystyle{wmaainf}
\bibliography{refs}
\end{frame}
\begin{frame}[c]
\frametitle{~}
\vspace{-1.9em}
\hfill
\begin{beamercolorbox}[center, wd=10cm]{title}
\huge Questions?
\end{beamercolorbox}
\hfill\hfill
\end{frame}
\setbeamercolor{background canvas}{bg=black}
\setbeamertemplate{navigation symbols}{}
\begin{frame}[plain]{}
\end{frame}
\end{document}