This repository has been archived by the owner on May 1, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFAU-beamer.sty
68 lines (56 loc) · 1.92 KB
/
FAU-beamer.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
\ProvidesPackage{FAU-beamer}[2020/02/03]
\RequirePackage[absolute,verbose,overlay]{textpos}
\let\Tiny=\tiny
\setbeamertemplate{navigation symbols}{}
\newif\ifplacelogo
\setbeamertemplate{footline}{
\ifplacelogo
% \grouplogo
\faulogo
\fi
\begin{beamercolorbox}[wd=\textwidth,ht=4ex,leftskip=1.6cm,rightskip=.3cm]{author in head/foot}
\vspace{0.1cm}
\hfill \inserttitle \hspace{0.1cm} \today \newline
\insertshortauthor \ - \insertshortinstitute \hfill \insertframenumber/\inserttotalframenumber
\end{beamercolorbox}
\vspace*{0.1cm}
}
\definecolor{FAURed}{RGB}{178,34,34}
\definecolor{FAUBlack}{RGB}{0,0,0}
\definecolor{FAUSilver}{RGB}{0,0,0}
%the usage of the colors in special elements
\setbeamercolor{title}{fg=FAUBlack}
\setbeamercolor{frametitle}{fg=FAUBlack}
\setbeamercolor{structure}{fg=FAUSilver}
% use square bullet points instead of arrows
\setbeamertemplate{items}[square]
%Do not count the front slide
\setcounter{framenumber}{0}
\def \grouplogofile {FAU-logo}
\def \faulogofile {FAU-logo}
%to position the group logo at the right-upper corner of a slide
\newcommand{\grouplogo}{
%TPHorizModule and TPVertModule are the factors with which the horizontal and vertical alignment of the following textblock are calculated
\setlength{\TPHorizModule}{1pt}
\setlength{\TPVertModule}{1pt}
\begin{textblock}{1}(320,6)
\includegraphics[width=160px,height=68px]{\grouplogofile}
\end{textblock}
}
%
% Includes the university logo at the lower left corner of the slide
\newcommand{\faulogo}{
\setlength{\TPHorizModule}{1pt}
\setlength{\TPVertModule}{1pt}
\begin{textblock}{1}(8,240)
\includegraphics[width=30pt,height=13pt]{\faulogofile}
\end{textblock}
}
%Colors the given text in standard blue
\newcommand{\markB}[1]{%
{\color{FAUBlack} #1}%
}
%Colors the given text in standard blue and rendered italic
\newcommand{\markBI}[1]{%
{\color{FAURed} \textit{#1}}%
}