-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy paththesis.tex
136 lines (116 loc) · 3.82 KB
/
thesis.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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
% -*- Mode:TeX -*-
%% IMPORTANT: The official thesis specifications are available at:
%% http://libraries.mit.edu/archives/thesis-specs/
%%
%% Please verify your thesis' formatting and copyright
%% assignment before submission. If you notice any
%% discrepancies between these templates and the
%% MIT Libraries' specs, please let us know
%% by e-mailing [email protected]
%% The documentclass options along with the pagestyle can be used to generate
%% a technical report, a draft copy, or a regular thesis. You may need to
%% re-specify the pagestyle after you \include cover.tex. For more
%% information, see the first few lines of mitthesis.cls.
%\documentclass[12pt,vi,twoside]{mitthesis}
%%
%% If you want your thesis copyright to you instead of MIT, use the
%% ``vi'' option, as above.
%%
%\documentclass[12pt,twoside,leftblank]{mitthesis}
%%
%% If you want blank pages before new chapters to be labelled ``This
%% Page Intentionally Left Blank'', use the ``leftblank'' option, as
%% above.
\documentclass[12pt,twoside, vi]{mitthesis}
\usepackage[paper=a4paper,top=2.2cm, bottom=1.5cm, outer=1cm, inner=2.1cm]{geometry}% http://ctan.org/pkg/geometry
\usepackage{lgrind}
%% These have been added at the request of the MIT Libraries, because
%% some PDF conversions mess up the ligatures. -LB, 1/22/2014
\usepackage{cmap}
\usepackage[T1]{fontenc}
%% Package "lmodern" added by user request see ServiceNow INC0396734 -OT, 4/29/2020
\usepackage{lmodern}
\pagestyle{plain}
\usepackage{tikz}
\usepackage{pdfoverlay}
\usepackage[ddmmyyyy]{datetime}
\renewcommand{\dateseparator}{.}
\usepackage{float}
\usepackage{xurl}
\usepackage{hyperref}
\usepackage{amsmath}
\usepackage{subcaption}
\usepackage{booktabs}
\usepackage{listings}
\usepackage{pifont}% http://ctan.org/pkg/pifont
\newcommand{\cmark}{\ding{51}}%
\newcommand{\xmark}{\ding{55}}%
\usetikzlibrary{positioning}
\def\abstract{
\begin{center}%
{\bfseries \abstractname\vspace{-.5em}}%
\end{center}
}
\def\endabstract{
}
\usepackage[section]{placeins}
% Custom colors
\usepackage{color}
\definecolor{deepblue}{rgb}{0,0,0.5}
\definecolor{deepred}{rgb}{0.6,0,0}
\definecolor{deepgreen}{rgb}{0,0.5,0}
% Python style for highlighting
\newcommand\pythonstyle{\lstset{
language=Python,
basicstyle=\scriptsize,
commentstyle=\scriptsize\color{gray},
otherkeywords={self}, % Add keywords here
keywordstyle=\scriptsize\bfseries\color{deepblue},
emph={MyClass,__init__, modify, predict, explain_instance, append, concatenate, DataFrame, groupby, sort_values, as_list, , to_numeric, predict_proba, array, LimeTabularExplainer, fit, GaussianHMM, get_stationary_distribution, DecisionTreeClassifier}, % Custom highlighting
emphstyle=\scriptsize\bfseries\color{deepred}, % Custom highlighting style
stringstyle=\color{deepgreen},
frame=tb, % Any extra options here
numbers = left,
numberstyle=\scriptsize,
breaklines,
xleftmargin = 15pt,
showstringspaces=false, %
}}
% Python environment
\lstnewenvironment{python}[1][]
{
\pythonstyle
\lstset{#1, captionpos=b}
}
{}
\begin{document}
\include{cover}
\pagestyle{plain}
\tableofcontents
\newpage
\include{chapters/intro}
\include{chapters/casestudy}
\include{chapters/methods}
\include{chapters/features}
\include{chapters/corr}
\include{chapters/concl}
%\appendix
\cleardoublepage
\phantomsection
\addcontentsline{toc}{chapter}{List of Figures}
\listoffigures
\cleardoublepage
\phantomsection
\addcontentsline{toc}{chapter}{List of Tables}
\listoftables
\cleardoublepage
\phantomsection
\addcontentsline{toc}{chapter}{List of Listings}
\renewcommand{\lstlistlistingname}{\bfseries\Huge{List of Listings}}
\lstlistoflistings
\cleardoublepage
\phantomsection
\addcontentsline{toc}{chapter}{Bibliography}
\bibliography{main}
\bibliographystyle{ieeetr}
\end{document}