-
Notifications
You must be signed in to change notification settings - Fork 1
/
beamerinnerthemefaims.sty
131 lines (98 loc) · 5.48 KB
/
beamerinnerthemefaims.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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
% This file is for styling elements within slides
\mode<presentation>
%----------------------------------------------------------------------------------------
% CUSTOMIZE LISTS
%----------------------------------------------------------------------------------------
\setlength{\leftmargini}{4mm}
\setbeamertemplate{enumerate item}{\arabic{enumi}.} % Customize the first level numbered character
\setbeamertemplate{enumerate subitem}{\alph{enumii}.} % Customize the second level numbered character
\setbeamertemplate{enumerate subsubitem}{\roman{enumiii}.} % Customize the third level numbered character
%------------------------------------------------
\setbeamertemplate{itemize item}{\raisebox{-0pt}{\includegraphics[width=5pt]{Images/faims3-via.png}}} %{\fontsize{16pt}{8pt}\selectfont\textdegree}}
%\setbeamertemplate{itemize item}{$\circ$} % Customize the first level bullet point character
\setbeamertemplate{itemize subitem}{--} % Customize the second level bullet point character
\setbeamertemplate{itemize subsubitem}{-} % Customize the third level bullet point character
%----------------------------------------------------------------------------------------
% CUSTOMIZE SLIDE ELEMENTS
%----------------------------------------------------------------------------------------
\setbeamertemplate{navigation symbols}{} % Disable default beamer navigation arrows
\setbeamertemplate{blocks}[shadow=false] % Disable shadows around blocks
% BBS https://tex.stackexchange.com/a/282988
\setbeamertemplate{block begin}
{
\par\vskip\medskipamount%
\begin{beamercolorbox}[colsep*=2mm]{block title}
\usebeamerfont*{block title}\insertblocktitle%
\end{beamercolorbox}%
{\parskip0pt\par}%
\ifbeamercolorempty[bg]{block title}
{}
{\ifbeamercolorempty[bg]{block body}{}{\nointerlineskip\vskip-0.5pt}}%
\usebeamerfont{block body}%
\begin{beamercolorbox}[colsep*=2mm,vmode]{block body}%
\ifbeamercolorempty[bg]{block body}{\vskip-.25ex}{\vskip-.75ex}\vbox{}%
}
\setbeamertemplate{bibliography item}[text] % Remove icons added by beamer for bibliography entries
\setbeamertemplate{section in toc}[sections numbered] % Number sections in the table of contents
\setbeamertemplate{section in toc}{ % Section styling in the table of contents
\minipage[t]{1.1cm} % Width of section numbers
\vspace{0pt} % Hack needed for top alignment
{\usebeamerfont*{section number projected}\ifnumless{\inserttocsectionnumber}{10}{0\inserttocsectionnumber}{\inserttocsectionnumber}} % Section number, output with a zero if less than 10
\endminipage
\minipage[t]{0.8\textwidth}
\vspace{0pt} % Hack needed for top alignment
\raggedright\inserttocsection\par % Section text
\endminipage
\vspace{\baselineskip} % Vertical whitespace to separate sections
}
%----------------------------------------------------------------------------------------
% FONT SETTINGS FOR SLIDE ELEMENTS
%----------------------------------------------------------------------------------------
\setbeamerfont{normal text}{size=\fontsize{8pt}{10pt}} % Default frame text
\AtBeginDocument{\usebeamerfont{normal text}} % Force the use of the normal text modification
\setbeamerfont{frametitle}{size=\fontsize{18pt}{14pt}, series=\bfseries} % Frame titles
\setbeamerfont{framesubtitle}{size=\fontsize{13pt}{11pt}} % Frame subtitles
\setbeamerfont{title}{size=\fontsize{16pt}{14pt}, series=\bfseries} % Presentation title
\setbeamerfont{author}{size=\fontsize{13pt}{14pt}} % Presentation author/contact information/department on title slide
\setbeamerfont{section extratext}{size=\fontsize{13pt}{14pt}} % Section extra text
\setbeamerfont{page number in head/foot}{size=\fontsize{6pt}{8pt}, series=\bfseries} % Slide numbers in footer
\setbeamerfont{author in head/foot}{size=\fontsize{6pt}{8pt}} % License/authorship information in footer
\setbeamerfont{section number projected}{size=\fontsize{24pt}{24pt}} % Section numbers in the table of contents
\setbeamerfont{section in toc}{size=\fontsize{12pt}{13pt}, series=\bfseries} % Section names in the table of contents
\setbeamerfont{bignum}{size=\fontsize{60pt}{64pt}, series=\bfseries\OpenSans} % Big number slide number font style
\renewcommand*{\bibfont}{\scriptsize} % Reduce bibliography font size
%----------------------------------------------------------------------------------------
% TABLES
%----------------------------------------------------------------------------------------
\usepackage{array} % Required for manipulating table elements
\newcolumntype{R}[1]{>{\raggedleft\arraybackslash}p{#1}} % Define a new right-aligned paragraph column type
\newcolumntype{L}[1]{>{\raggedright\arraybackslash}p{#1}} % Define a new left-aligned (no justification) paragraph column type
\newcolumntype{C}[1]{>{\centering\arraybackslash}p{#1}} % Define a new centred paragraph column type
%----------------------------------------------------------------------------------------
% HEADINGS
%----------------------------------------------------------------------------------------
\newcommand{\headinglevelone}[1]{%
\begingroup
\vspace{6pt}%
\fontsize{12pt}{13pt}\selectfont%
\textcolor{faimsblue}{#1}%
\vspace{3pt}%
\endgroup
}
\newcommand{\headingleveltwo}[1]{%
\begingroup
\vspace{6pt}%
\fontsize{10pt}{11pt}\selectfont%
\textcolor{faimsorange}{#1}%
\vspace{1pt}%
\endgroup
}
\newcommand{\headinglevelthree}[1]{
\begingroup
\vspace{6pt}%
\fontsize{8pt}{9pt}\selectfont%
\textcolor{faimsblue}{#1}%
\endgroup
}
%----------------------------------------------------------------------------------------
\mode<all>