-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.tex
58 lines (46 loc) · 1.47 KB
/
config.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
% ============= ADDING PREAMBLES =============%
% only enable this when using pdfLaTeX
% \usepackage[utf8]{inputenc}
\usepackage[margin=2.5cm]{geometry}
\usepackage{amsmath, amsfonts, amssymb, cancel}
% set main font to Time New Roman, set math font to XITS
\usepackage{fontspec}
\setmainfont{Times New Roman}
\usepackage[bold-style=ISO]{unicode-math}
\setmathfont[Extension=.otf, BoldFont=XITSMath-Bold]{XITSMath-Regular}
% insertion of graphics
\usepackage{graphicx}
\usepackage{float}
% use import function for word counting
\usepackage{import}
% insertion of tables
\usepackage{tabularx}
\usepackage{booktabs}
\usepackage{multicol}
\usepackage{multirow}
% appendices
\usepackage[title]{appendix}
% import reference manager
\usepackage[sorting=none]{biblatex}
\addbibresource{references.bib} %<== amend when necessary
% define Imperial blue
\usepackage{xcolor}
\definecolor{linkcolour}{rgb}{0,0.2,0.6}
% write PDF metadata
\usepackage{hyperref}
\hypersetup{colorlinks,
breaklinks,
urlcolor=linkcolour,
linkcolor=black,
citecolor=black,
pdftitle={\reporttitle},
pdfauthor={\reportauthor}}
% override \autoref commands
\renewcommand{\sectionautorefname}{Section}
\renewcommand{\subsectionautorefname}{Section}
\renewcommand{\subsubsectionautorefname}{Section}
% disable paragraph indentation
\setlength\parindent{0pt}
% set line spacing to 1.2
\linespread{1.2}
% ============= END OF PREAMBLES =============%