-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.tex
169 lines (148 loc) · 5.02 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
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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
% -*- 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]{mitthesis}
\usepackage{lgrind}
\usepackage{url}
\usepackage{acronym}
\usepackage{tabularx}
\usepackage{multirow}
\usepackage{fancyref}
\usepackage{caption}
\usepackage{subcaption}
\usepackage{graphicx}
\usepackage{xspace}
\usepackage[gen]{eurosym}
\usepackage{listings}
\usepackage[usenames,dvipsnames]{color}
%\usepackage[backend=bibtex,url=true]{biblatex}
\usepackage{misc/packages/risk-tpl}
\usepackage{xkeyval}
\usepackage{rotating}
\usepackage{placeins}
\usepackage{xspace}
\usepackage{textcomp}
\usepackage[parfill]{parskip}
\usepackage[toc,page]{appendix}
\usepackage[hypertexnames=false,colorlinks=true,urlcolor=black,colorlinks=true,linkcolor=black,citecolor=black,filecolor=black,urlcolor=black,bookmarks=true,bookmarksnumbered=true,bookmarksopen=true,bookmarksopenlevel=1]{hyperref}
%\usepackage{bookmark}
\pagestyle{plain}
\definecolor{gray}{rgb}{0.4,0.4,0.4}
\definecolor{darkblue}{rgb}{0.0,0.0,0.6}
\definecolor{darkgreen}{RGB}{0,102,51}
\definecolor{cyan}{rgb}{0.0,0.6,0.6}
\definecolor{lightgray}{rgb}{.9,.9,.9}
\definecolor{darkgray}{rgb}{.4,.4,.4}
\definecolor{purple}{rgb}{0.65, 0.12, 0.82}
\definecolor{superlightgrey}{RGB}{238,238,238}
\usepackage{enumitem}
\setlist{nolistsep}
\lstset{
basicstyle=\ttfamily,
numbers=left,
lineskip={-1.5pt} ,
columns=fullflexible,
showstringspaces=false,
commentstyle=\color{gray}\upshape,
captionpos=b,
backgroundcolor=\color{superlightgrey}
}
\lstdefinelanguage{XML} {
basicstyle=\ttfamily\color{darkblue}\bfseries,
morestring=[b]",
morestring=[s]{>}{<},
morecomment=[s]{<?}{?>},
stringstyle=\color{black},
identifierstyle=\color{darkblue},
keywordstyle=\color{cyan},
morekeywords={xmlns,version,type, id, lang, src, caption, x, y, width, height}% list your attributes here
}
\lstdefinelanguage{JavaScript} {
keywords={typeof, new, true, false, catch, function, return, null, catch, switch, var, if, in, while, do, else, case, break},
keywordstyle=\color{blue}\bfseries,
ndkeywords={class, export, boolean, throw, implements, import, this},
ndkeywordstyle=\color{darkgray}\bfseries,
identifierstyle=\color{black},
sensitive=false,
comment=[l]{//},
morecomment=[s]{/*}{*/},
commentstyle=\color{purple}\ttfamily,
stringstyle=\color{darkgreen}\ttfamily,
morestring=[b]',
morestring=[b]"
}
\lstdefinelanguage{SASS} {
basicstyle=\ttfamily\color{black}\bfseries,
morestring=[b]",
morestring=[s]{>}{<},
comment=[l]{//},
morecomment=[s]{/*}{*/},
commentstyle=\color{purple}\ttfamily,
stringstyle=\color{black},
identifierstyle=\color{darkblue},
keywordstyle=\color{cyan},
morekeywords={include, width, height, extend, size}% list your attributes here
}
%\lstdefinelanguage{terminal} {
% moredelim=[s][\color{darkblue}]{}{\$}
%}
\pdfminorversion=4
%% 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}
% Some departments (e.g. 5) require an additional signature page. See
% signature.tex for more information and uncomment the following line if
% applicable.
% \include{signature}
\cleardoublepage
\pagestyle{plain}
\pagenumbering{roman}
\include{contents}
% FIXME should acronyms go here?
\cleardoublepage
\include{acronyms}
\cleardoublepage
%\cleardoublepage
\pagenumbering{arabic}
\include{chap1} % intro
\include{chap2} % related work
\include{chap3} % project management
\include{chap4} % requirements
\include{chap5} % spec
\include{chap6} % design
\include{chap7} % implementation
\include{chap8} % test
\include{chap9} % future work, conclusions
\cleardoublepage
\begin{appendices}
\include{app-ui-components-list}
\include{app-tests-report}
\end{appendices}
%\include{appb}
\include{biblio}
\end{document}