-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathmain.tex
101 lines (94 loc) · 2.82 KB
/
main.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
% -*- Mode:TeX -*-
%% 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.
% TODO: this line was modified from twoside to oneside
% to have less blank pages
% \documentclass[12pt,twoside]{mitthesis}
\documentclass[12pt,oneside]{mitthesis}
\usepackage{lgrind}
\usepackage{epigraph}
%% 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}
\usepackage[main=english]{babel}
% \usepackage{glossaries}
% \usepackage[toc]{glossaries}
\usepackage[acronym, toc]{glossaries}
\usepackage{graphicx}
\graphicspath{ {./} }
\usepackage{listings}
\usepackage{color}
\usepackage{xurl}
\usepackage[skip=2pt]{caption}
\usepackage{diagbox}
\usepackage[pdfborder={0 0 0}, breaklinks]{hyperref}
\usepackage{pdfpages}
\usepackage{csquotes}
\usepackage[a-1b]{pdfx}
\usepackage{hyperref}
% \usepackage{pdfcomment}
% \usepackage{biblatex}
% \addbibresource{main.bib}
% \bibliography{main.bib}
% begin section from https://stackoverflow.com/a/3175141
\definecolor{dkgreen}{rgb}{0,0.6,0}
\definecolor{gray}{rgb}{0.5,0.5,0.5}
\definecolor{mauve}{rgb}{0.58,0,0.82}
\lstset{frame=tb,
language=Java,
aboveskip=3mm,
belowskip=3mm,
showstringspaces=false,
columns=flexible,
basicstyle={\small\ttfamily},
numbers=none,
numberstyle=\tiny\color{gray},
keywordstyle=\color{blue},
commentstyle=\color{dkgreen},
stringstyle=\color{mauve},
breaklines=true,
breakatwhitespace=true,
tabsize=3
}
% end section from https://stackoverflow.com/a/3175141
\makeglossaries
\input{glossary.tex}
\pagestyle{plain}
%% This bit allows you to either specify only the files which you wish to
%% process, or `all' to process all files which you \include.
%% Krishna Sethuraman (1990).
%\typein [\files]{Enter file names to process, (chap1,chap2 ...), or `all' to process all files:}
\def\all{all}
\ifx\files\all \typeout{Including all files.} \else %\typeout{Including only \files.} \includeonly{\files} \fi
\begin{document}
\include{cover}
\include{signature}
\pagestyle{plain}
\include{contents}
\include{chap1}
\include{chap2}
\include{chap3}
\include{chap4}
\include{chap5}
\include{chap6}
\appendix
\include{appa}
% \include{appb}
% \include{appc}
\include{appd}
\include{appe}
\include{biblio}
\end{document}