-
Notifications
You must be signed in to change notification settings - Fork 4
/
SSEthesisPreamble.sty
86 lines (72 loc) · 3.04 KB
/
SSEthesisPreamble.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
%%%% file ssethesis_preamble.sty
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{SSEThesisPreamble}[2018/02/14 v0.01 SSE Thesis Preamble]
% ####################### Encoding, etc ########################################
% PDFLATEX
\RequirePackage[T1]{fontenc} % Should be loaded before inputenc
\RequirePackage[utf8]{inputenc} %utf8x should be avoided, does not work with biblatex
\RequirePackage[tracking=true,protrusion=true,expansion=true,final,babel,letterspace=75]{microtype} % Better looking text
\RequirePackage[babel]{csquotes} % Better looking quotes
\RequirePackage{babel} % Language control
% FONTS
% Garamond font for text and math
\RequirePackage[cmintegrals,cmbraces]{newtxmath}
\RequirePackage{ebgaramond-maths}
\RequirePackage{avant} % Avant Gothic for headings/captions
\RequirePackage{lipsum} % to add filler text to template. Can remove.
\RequirePackage{graphicx}
\RequirePackage{rotating} % sidewaystable
\RequirePackage{booktabs} % Better looking tables
\RequirePackage{multirow} % Tables spanning multiple rows
\RequirePackage{longtable}
\RequirePackage{textcomp} % for symbols, e.g. copyright
% Nicer looking tables
\RequirePackage{siunitx}
\RequirePackage{threeparttable}
\RequirePackage[flushmargin,hang]{footmisc} % This package allows for changes of the foot notes.
% Including papers using \include
%\RequirePackage{standalone}
%\RequirePackage{import}
% ###################### MATH ##################################################
\RequirePackage{amsmath}
\RequirePackage{amsfonts,mathrsfs} % pdflatex
% ###################### GRAPHICS ##############################################
\RequirePackage{tikz,pgfplots}
\usetikzlibrary{backgrounds,
trees,
positioning,
arrows,
calc,
shapes.geometric,
arrows,
positioning,
fit,
decorations.pathreplacing,
calc}
\pgfplotsset{compat=newest}
\DeclareGraphicsExtensions{.pdf,.png,.jpg,.eps}
\RequirePackage[section]{placeins} % Creates \FloatBarrier at every new section.
% ###################### Bibliography ##########################################
\RequirePackage[
backend=biber,
style=authoryear-comp,
natbib=true,
sortlocale=en_US,
giveninits=true, % Use initials for first and middle names
uniquename=false,
maxcitenames=2,
mincitenames=1,
maxbibnames=4,
minbibnames=1,
dashed=false, % Will output dash instead of repeated author
useprefix=true, % print "von" etc (biber only)
sorting=nyt, % sort bibliography after name-year-title
sortcites=true, % sort citations in text (when sep. by ",")
doi=false,
url=false,
isbn=false,
eprint=false,
date=year,
]{biblatex}
% ###################### HYPERREF (Loaded last) ################################
\RequirePackage{hyperref}