78 lines
1.4 KiB
TeX
78 lines
1.4 KiB
TeX
\usepackage{csquotes}
|
|
\usepackage[australian]{babel}
|
|
\usepackage{hyperref}
|
|
|
|
% Fonts
|
|
\usepackage{fontspec}
|
|
%% Main font
|
|
\setmainfont{ArchivoNarrow}[
|
|
Path=assets/fonts/ArchivoNarrow/,
|
|
Extension=.ttf,
|
|
UprightFont=*-Regular,
|
|
BoldFont=*-Bold,
|
|
ItalicFont=*-Italic,
|
|
BoldItalicFont=*-BoldItalic,
|
|
]
|
|
%% Title font
|
|
\newfontfamily{\norwester}{Norwester}[
|
|
Path=assets/fonts/Norwester/,
|
|
Extension=.otf,
|
|
]
|
|
\newfontfamily{\kollektif}{Kollektif}[
|
|
Path=assets/fonts/Kollektif/,
|
|
Extension=.ttf,
|
|
BoldFont=*-Bold,
|
|
ItalicFont=*-Italic,
|
|
BoldItalicFont=*-BoldItalic,
|
|
]
|
|
%% Monospace font
|
|
\setmonofont{VictorMono}[
|
|
Path=assets/fonts/VictorMono/,
|
|
Extension=.otf,
|
|
UprightFont=*-Regular,
|
|
BoldFont=*-Bold,
|
|
ItalicFont=*-Italic,
|
|
BoldItalicFont=*-BoldItalic,
|
|
]
|
|
%% Mathmatical font
|
|
\usepackage{unicode-math}
|
|
\setmathfont[
|
|
Scale=1.4
|
|
]{GFSNeohellenicMath.otf}
|
|
|
|
% References
|
|
\usepackage[
|
|
style=apa,
|
|
]{biblatex}
|
|
\usepackage{cleveref}
|
|
|
|
% Glossary / Acronyms
|
|
\usepackage[acronym,toc]{glossaries}
|
|
\defglsentryfmt[main]{\ifglsused{\glslabel}{\glsgenentryfmt}{\textit{\glsgenentryfmt}}}
|
|
\makeglossaries{}
|
|
|
|
% Code formatting
|
|
\usepackage{fancyvrb}
|
|
\usepackage{color}
|
|
\input{assets/pygments_header.tex}
|
|
\DeclareNewTOC[
|
|
type=program,
|
|
float,
|
|
name=Program,
|
|
counterwithin=chapter,
|
|
atbegin={%
|
|
\scriptsize
|
|
}
|
|
]{program}
|
|
\crefname{program}{program}{programs}
|
|
\DeclareNewTOC[
|
|
type=model,
|
|
float,
|
|
name=Model,
|
|
counterwithin=chapter,
|
|
atbegin={%
|
|
\scriptsize
|
|
}
|
|
]{model}
|
|
\crefname{model}{model}{models}
|