-
Notifications
You must be signed in to change notification settings - Fork 15
/
required-packages.tex
120 lines (94 loc) · 3.46 KB
/
required-packages.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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
% This class uses the geometry.sty package to set the margins.
\if@gwu@debug
% Show margins
\RequirePackage[top=1in,bottom=1in,left=1.25in, right=1.25in,
showframe]{geometry}
\else
% Use the standard margins for the thesis version.
\RequirePackage[top=1in,bottom=1in,left=1.25in, right=1.25in]{geometry}
\fi
% Obsolete package check
\RequirePackage[l2tabu,orthodox]{nag}
% This loads the required math packages.
\RequirePackage[binary-units=true]{siunitx}
\RequirePackage{amsmath}
\RequirePackage{amsfonts}
\RequirePackage{amssymb}
\RequirePackage{mathtools}
\RequirePackage{amsthm}
% This loads the proper graphics package.
\RequirePackage{graphicx}
% Better spacing for text
\RequirePackage[utf8]{inputenc}
\RequirePackage[T1]{fontenc}
\RequirePackage{lmodern}
\RequirePackage{microtype}
\RequirePackage{bm}
\RequirePackage{mathptmx}
% Add package for managing section headings
\RequirePackage[]{titlesec}
% This is useful for complex figures.
\RequirePackage{subcaption}
% Compress multiple citations
% \RequirePackage{cite}
% This package allows the ability to create a 'code' environment.
\RequirePackage{verbatim}
% This hopefully tells verbatim to leave my damn quotes alone.
% \RequirePackage{upquote}
% This package enables the use of proper single quotes in text.
% \RequirePackage{textcomp}
% This package is used to set line spacing.
\RequirePackage{setspace}
% This package is used to make nomenclature tables that can span pages.
% \RequirePackage{longtable}
% This package allows conditional testing of varibles.
\RequirePackage{ifthen}
% This package is used for silly letter spacing
\RequirePackage{soul}
% This package is used to generate alternate environments.
\RequirePackage{float}
% This package is for the index, if it is to be used.
\if@gwu@index
\RequirePackage{makeidx}
\makeindex
\fi
% This is the package for special headers and footers.
\RequirePackage{fancyhdr}
% some extra packages to help with debugging
\if@gwu@debug
\RequirePackage[final]{showlabels} % show labels for referencing
\RequirePackage{refcheck} % check for unused references/labels
\fi
%% ---- HYPERREF ----------------------------------------------------------
% This loads a package that allows extra colors for links.
\RequirePackage[]{color}
% Custom color for references.
% \definecolor{DarkGreen}{rgb}{0,0.6,0}
% This will make labels and references hyperlinks.
\if@gwu@backref%
% Use references in the bibliography.
\RequirePackage[pagebackref=true]{hyperref}%
\else%
% Do not use back references.
\RequirePackage{hyperref}%
\fi
\hypersetup{%
unicode=false, % non-Latin characters in Acrobat’s bookmarks
pdftoolbar=true, % show Acrobat’s toolbar?
pdfmenubar=true, % show Acrobat’s menu?
pdffitwindow=false, % window fit to page when opened
pdfstartview={FitV}, % fits the width of the page to the window
pdfnewwindow=true, % links in new PDF window
colorlinks=false, % false: boxed links; true: colored links
bookmarksdepth=3,
bookmarksopen=true,
}%
% Cleveref referencing - must happen after hyperref
\AtEndOfClass{\RequirePackage[noabbrev,capitalize]{cleveref}}%
% Glossaries package - must come after hypperef
% This package is used for the list of abbreviations
\RequirePackage[printonlyused]{acronym}%
\RequirePackage[abbreviations,symbols,shortcuts=none,automake]{glossaries-extra}%
% \glsxtrRevertTocMarks % remove warning from tocloft about starttoc
% \RequirePackage{tocloft}
% \RequirePackage{calc}