-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbeamerthemeinrad.sty
114 lines (93 loc) · 3.44 KB
/
beamerthemeinrad.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
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
% Style guidelines obtained from: https://www.imsa.edu/marcom-toolkit/
% ====================
% Dependencies
% ====================
\mode<presentation>
%\usepackage[default]{sourcesanspro}
%\newfontfamily\DinFF{DINBold.ttf}
%\usepackage{fontspec}
%\RequirePackage{exscale}
%\RequirePackage{ragged2e}
%\RequirePackage{changepage}
%\RequirePackage{fontspec}
%\usepackage{fontenc}
% ====================
% Fonts
% ====================
\definecolor{AzulPrimario}{RGB}{4,68,186}
\definecolor{AzulSecundario}{RGB}{3,211,252}
\definecolor{Amarelo}{RGB}{252,180,33}
\newcommand\Includegraphics[2][]{%https://tex.stackexchange.com/a/306615/105075
\raisebox{-.5\dimexpr\height-\ht\strutbox+\dp\strutbox}{\includegraphics[#1]{#2}}}
\setbeamercolor*{palette primary}{use=structure,fg=white,bg=AzulPrimario}
\setbeamercolor*{palette secondary}{use=structure,fg=black,bg=AzulSecundario}
\setbeamercolor*{palette tertiary}{use=structure,fg=white,bg=Amarelo}
\setbeamercolor*{palette quaternary}{fg=white,bg=black}
\setbeamercolor{item}{fg=AzulPrimario}
\setbeamercolor{normal text}{fg=black}
\setbeamercolor{block title}{bg=AzulPrimario,fg=white}
\setbeamercolor{block body}{bg=AzulSecundario,fg=black}
\setbeamercolor{titlelike}{fg=AzulPrimario}
\setbeamercolor{section in head/foot}{fg=white,bg=AzulSecundario}
\setbeamercolor{structure}{fg=AzulPrimario}
\setbeamerfont{institute}{size={\fontsize{7}{7}}}
\setbeamerfont{frametitle}{size={\fontsize{11}{11}}}
\setbeamertemplate{frametitle}{
\nointerlineskip
\begin{beamercolorbox}[sep=0.2cm,ht=1.5em,wd=\paperwidth]{palette primary}
\vbox{}\vskip-1.3ex%
\strut\insertframetitle\strut
\hfill
\Includegraphics[width=0.125\framewidth]{InradFrametitle2}
\vskip-0.5ex%
\end{beamercolorbox}
\nointerlineskip
\begin{beamercolorbox}[wd=\paperwidth,ht=0.25ex,dp=1ex]{palette secondary}%
\end{beamercolorbox}
%\nointerlineskip
%\begin{beamercolorbox}[wd=\paperwidth,ht=0.25ex,dp=0.5ex]{palette tertiary}%
%\end{beamercolorbox}
}
\setbeamerfont{section in head/foot}{series=\bfseries}
\setbeamertemplate{section in head/foot shaded}{%
\textnormal{\color{AzulSecundario}\usebeamertemplate{section in head/foot}}
}
\setbeamertemplate{headline}{%
\begin{beamercolorbox}[wd=\paperwidth,ht=2.5ex,dp=1.125ex]{palette primary}%
\insertsectionnavigationhorizontal{\paperwidth}{\hfill}{\hfill}
\end{beamercolorbox}
}
\setbeamertemplate{footline}{%
%\nointerlineskip
%\begin{beamercolorbox}[wd=\paperwidth,ht=0.25ex,dp=0.5ex]{palette tertiary}%
%\end{beamercolorbox}
\nointerlineskip
\begin{beamercolorbox}[wd=\paperwidth,ht=0.25ex,dp=0.5ex]{palette secondary}%
\end{beamercolorbox}
\nointerlineskip
\begin{beamercolorbox}[wd=\paperwidth,ht=0.25ex,dp=1ex]{palette primary}%
\end{beamercolorbox}
%\vbox{}\vskip-2ex%
%\strut\insertframetitle\strut
%\hfill
%\Includegraphics[width=0.5\framewidth]{InradFrametitle}
%\vskip-0.8ex%
}
\setbeamertemplate{section in toc}[square]
\AtBeginSection[]
{
\begin{frame}[noframenumbering]
\frametitle{Table of contents}
\tableofcontents[currentsection]
\end{frame}
}
\setbeamercovered{transparent}
\setbeamerfont{footnote}{size=\scriptsize}
\setbeamertemplate{navigation symbols}{%
\usebeamerfont{footline}%
\usebeamercolor[fg]{footline}%
\hspace{1em}%
\insertframenumber/\inserttotalframenumber
}
\renewcommand*{\thefootnote}{\alph{footnote}}
\mode<all>