-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpreamble.tex
103 lines (80 loc) · 2.06 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
\usepackage{booktabs}
\usepackage{amsthm}
\makeatletter
\let\stdl@chapter\l@chapter
\renewcommand*{\l@chapter}[2]{%
\stdl@chapter{\textcolor{astral}{#1}}{\textcolor{astral}{#2}}}
\def\thm@space@setup{%
\thm@preskip=5cm
\thm@postskip=\thm@preskip
}
\usepackage{graphicx}
\usepackage{afterpage}
\newcommand\blankpage{%
\null
\thispagestyle{empty}%
\addtocounter{page}{-1}%
\newpage}
\usepackage{amssymb}
\usepackage{amsmath}
%\pagestyle{plain} % default for report
\usepackage{etoolbox}
\makeatletter
\patchcmd{\@makechapterhead}{50\p@}{-24pt}{}{}
\patchcmd{\@makeschapterhead}{50\p@}{-24pt}{}{}
\makeatother
\makeatother
\usepackage{sectsty}
\definecolor{astral}{RGB}{153, 61, 15}
\allsectionsfont{\sffamily\color{astral}}
\usepackage{fancyhdr}
\usepackage{pdfpages}
\renewcommand{\headrulewidth}{0.5pt}
\renewcommand{\headrule}{\hbox to\headwidth{\color{astral}\leaders\hrule height \headrulewidth\hfill}}
\setlength{\headheight}{5pt}
\fancyhf{}
\fancyhead[EL]{\nouppercase\leftmark}
\fancyhead[OR]{\nouppercase\rightmark}
\fancyhead[ER,OL]{\thepage}
\usepackage{multicol}
\usepackage{hyperref}
\usepackage{longtable}
\usepackage{array}
\usepackage{multirow}
\usepackage{wrapfig}
\usepackage{float}
\usepackage{colortbl}
\usepackage{pdflscape}
\usepackage{tabu}
\usepackage{threeparttable}
\usepackage{adjustbox}
\usepackage{rotating}
\usepackage{tablefootnote}
\usepackage[normalem]{ulem}
% empty pages betwen chapters
\usepackage{emptypage}
\makeatletter
\makeatother
\renewcommand{\listfigurename}{Figures}
\renewcommand{\listtablename}{Tables}
\usepackage[sectionbib]{chapterbib}
%% List of Abbreviations
\usepackage{nomencl}
\makenomenclature
\renewcommand{\nomname}{Acronyms}
%% to update run makeindex on docs folder and move results to / folder
%% see nomencl manual
%% e.g. makeindex SOCMapping.nlo -s nomencl.ist -o SOCMapping.nls
%% index
\usepackage{imakeidx}
\makeindex
\usepackage{xspace}
% no title page
\AtBeginDocument{\let\maketitle\relax}
\hypersetup{
colorlinks=true,
linkcolor=astral,
filecolor=astral,
urlcolor=astral,
citecolor=astral
}