blob: dc67d6306b9f073d43dba6aa214e106bf2781e6b (
plain) (
blame)
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
|
\ProvidesClass{general}
\LoadClass[oneside]{article}
% Page setup.
\RequirePackage[a4paper, margin=20mm]{geometry}
\RequirePackage[T1]{fontenc}
\RequirePackage[english]{babel}
% Formatting.
\RequirePackage{parskip}
\RequirePackage[pdfusetitle, bookmarks=false]{hyperref}
\RequirePackage{changepage}
\RequirePackage{titlesec}
% Figures.
\RequirePackage{float}
\RequirePackage{graphicx}
\RequirePackage{caption}
\RequirePackage{subcaption}
% Tables.
\RequirePackage{booktabs}
% Mathematics and science.
\RequirePackage{amsmath}
\RequirePackage[math-style=ISO, bold-style=ISO]{unicode-math}
\RequirePackage{siunitx}
% Code listings.
\RequirePackage{listings}
\RequirePackage{matlab-prettifier}
\setmainfont{Minion3}[
Path=fonts/,
Extension=.otf,
UprightFont=*-Regular,
BoldFont=*-Bold,
ItalicFont=*-Italic,
BoldItalicFont=*-BoldItalic
]
\setmathfont[math-style=ISO, bold-style=ISO, partial=upright]{STIX Two Math}
\captionsetup{
labelfont=bf,
labelsep=period,
justification=centering
}
\sisetup{
separate-uncertainty=true
}
\titleformat{\section}{\Large\bfseries}{}{0pt}{}
\renewcommand{\arraystretch}{1.25}
|