-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpreamble.tex
70 lines (60 loc) · 1.52 KB
/
preamble.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
\usepackage{ifxetex,ifluatex}
\newif\ifxetexorluatex
\ifxetex
\xetexorluatextrue
\else
\ifluatex
\xetexorluatextrue
\else
\xetexorluatexfalse
\fi
\fi
%gets rid of bottom navigation bars
\setbeamertemplate{footline}[frame number]{}
%gets rid of bottom navigation symbols
\setbeamertemplate{navigation symbols}{}
%gets rid of footer
%will override 'frame number' instruction above
%comment out to revert to previous/default definitions
\setbeamertemplate{footline}{}
\usepackage{tikz}
\usepackage{graphicx}
\usepackage{standalone}
\usepackage{float}
\usepackage{tcolorbox}
\usepackage{url}
\usepackage{hyperref}
\hypersetup{
colorlinks=true,
}
\usetikzlibrary{calc}
\usetikzlibrary{external}
\tikzexternalize[prefix=output/]
\usepackage{environ}
%\setmainfont[Ligatures=TeX]{BwModelica-ExtraBold.otf}
\ifxetexorluatex
% If using xelatex or lualatex:
\usepackage{fontspec}
\setmainfont{BwModelica}[
Extension = .otf ,
UprightFont = *-Bold ,
ItalicFont = *-BoldItalic ,
BoldFont = BwModelica-ExtraBold ,
BoldItalicFont = BwModelica-ExtraBoldItalic,
]
\else
% If using pdflatex:
\PackageError{UCLouvainFont}{Don't use pdfLaTeX}{Please switch your compiler to either XeTeX or LuaTeX.}
\fi
\NewEnviron{visual}[1][unnamed]
{%
\begin{frame}
\frametitle{#1}
\tikzsetnextfilename{#1}
\centering
\fbox{\BODY}
\end{frame}
}
\definecolor{blue-light}{HTML}{9db6d7}
\definecolor{blue-medium}{HTML}{6eb7e8}
\definecolor{blue-dark}{HTML}{15213b}