-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy paththesis.tex
More file actions
272 lines (200 loc) · 8.42 KB
/
thesis.tex
File metadata and controls
272 lines (200 loc) · 8.42 KB
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
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
%% Available options for the mengthesis documentclass:
%% Option `11pt':
%% Use an 11pt font (10pt by default).
%% Option `12pt':
%% Use an 12pt font (10pt by default).
%% Option `draft':
%% Puts `overfull' boxes at the end of lines that are too long.
%% Option `leftblank':
%% If using the `twoside' option, marks extra blank pages with ``THIS PAGE
%% INTENTIONALLY LEFT BLANK''.
%% Option `mitcopyright':
%% Gives the thesis copyright to MIT instead of the author.
%% Option `singlespace':
%% Single-spaces the document, for drafts (double-spaced by default).
%% Option `twoside':
%% Prints double-sided, inserting extra blank pages as necessary.
\documentclass[twoside,leftblank,mitcopyright]{mengthesis}
% Very basic packages you'll likely need for graphics, symbols, PDF hyperlinking, etc
\usepackage{xcolor, graphicx, gensymb, amssymb, amsmath, textcomp, hyperref}
% Helps manage floats and prevent them from going into the next section
% ex: use \FloatBarrier to prevent any floats from going that point in the doc
\usepackage{placeins}
% Tables with more column flexibility
\usepackage{tabularx}
% Customize formatting of captions
\usepackage[hang, small, bf, margin=20pt, tableposition=top]{caption}
% Better done ToCs
\usepackage{tocloft}
%% Allows areas of text to be excluded from processing, ex: \begin{xcomment} blah \end{xcomment}
%\usepackage{xcomment}
% Creates ordinal number suffixes/formatting like 1st, 2nd, etc. ex: \engordnumber{2}
\usepackage{engord}
% command for "0th"
\newcommand{\zeroth}{0$^{\rm th}$}
% Allows \verbatiminput.
\usepackage{verbatim}
% Define centered expanding width column
\newcolumntype{C}{>{\centering\arraybackslash}X}
% Used for subfigures
\usepackage{subfig}
\captionsetup[subfigure]{format=hang, margin=5pt}
% Use EPS files in PDFLatex
\usepackage{epstopdf}
% Prettifies Tables - ex: \toprule, \bottomrule, \midrule
\usepackage{booktabs}
% Easily use acronyms - ex: \acronym{SN}{supernova}, \ac{SN},
\usepackage[printonlyused,withpage]{acronym}
% Allow rotated tables, figures, etc
\usepackage{rotating}
% Side captions, ex: \begin{SCfigure}
\usepackage{sidecap}
% Embed PDF pages in document, ex: \includepdf[pages=1-4]{Myfile.pdf}
\usepackage{pdfpages}
% Setup the Hypertext PDF linking
\hypersetup{
bookmarks=true, % show bookmarks bar?
unicode=true, % 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={FitH}, % fits the width of the page to the window
pdftitle=Optimization of Naive Dynamic Binary Instrumentation Tools, % title
pdfauthor=Reid Kleckner, % author
% pdfsubject={Subject}, % subject of the document
% pdfcreator={Creator}, % creator of the document
% pdfproducer={Producer}, % producer of the document
% pdfkeywords={keywords}, % list of keywords
pdfnewwindow=true, % links in new window
colorlinks=true, % false: boxed links; true: colored links
linkcolor=black, % color of internal links
citecolor=blue, % color of links to bibliography
filecolor=magenta, % color of file links
urlcolor=cyan % color of external links
}
% Compacted itemize- less white space inbetween items
\usepackage{enumitem} % compact enumerates and itemizes, ex: \begin{enumerate*}...
\newenvironment{packed_itemize}{
\begin{itemize}[label=\textbullet, nolistsep, leftmargin=10pt,
before*={\mbox{}\vspace{-\baselineskip}}]
\setlength{\itemsep}{2pt}
\setlength{\parskip}{0pt}
\setlength{\topsep}{0pt}
\setlength{\partopsep}{0pt}
\setlength{\parsep}{0pt}
}{\end{itemize}}
\newenvironment{subpacked_itemize}{
\begin{itemize}[label=\textbullet, nolistsep, leftmargin=10pt]
\setlength{\itemsep}{2pt}
\setlength{\parskip}{0pt}
\setlength{\topsep}{0pt}
\setlength{\partopsep}{0pt}
\setlength{\parsep}{0pt}
}{\end{itemize}}
\newenvironment{packed_enumerate}{
\begin{enumerate}
\setlength{\itemsep}{2pt}
\setlength{\parskip}{0pt}
\setlength{\topsep}{0pt}
\setlength{\partopsep}{0pt}
\setlength{\parsep}{0pt}
}{\end{enumerate}}
% Remove citations from ToC, ToF, etc..., Ex: none, works automatically
\usepackage{notoccite}
% Force LaTex to not change spacing between paragraphs
\setlength{\parskip}{8pt}
% For floats, Ex: \float[H]...
\usepackage{float}
% For floating figures with text wrap. Ex: \begin{wrapfigure}{r}{0.5\textwidth}
\usepackage{wrapfig}
% Force compacted white space between chapter and section titles
\usepackage[compact,rigidchapters]{titlesec}
\begin{document}
%=============================== CONFIGURATION ===============================%
%% Specify your thesis title.
\title{Optimization of Naive Dynamic Binary Instrumentation Tools}
%% Specify your full name.
\author{Reid Kleckner}
%% If you wish to list your previous degrees on the cover page, use the
%% previous degrees command:
%% \prevdegrees{A.A., Harvard University (1985)}
%% You can use the \\ command to list multiple previous degrees
%% \prevdegrees{B.S., University of California (1978) \\
%% S.M., Massachusetts Institute of Technology (1981)}
\prevdegrees{S.B., Massachusetts Institute of Technology (2010)}
%% Specify the month and year you'll be graduating, and the exact date to put
%% on the thesis.
\degreemonth{September}
\degreeyear{2011}
\thesisdate{August 29, 2010}
%% By default, the thesis will be copyrighted to you. If you need to copyright
%% the thesis to MIT, just specify the `mitcopyright' documentclass option. If
%% for some reason you want to exactly specify the copyright notice text, you
%% can use the \copyrightnotice command.
%\copyrightnotice{Copyleft 2009 John E. Doe. All rights reversed.}
%% Use the \supervisor command to specify the name and title of your thesis
%% supervisor. If there is more than one supervisor, use the \supervisor
%% and/or \cosupervisor command once for each.
% For your advisor's proper title: http://eecsfacweb.mit.edu/gallery.html
\supervisor{Saman Amarasinghe}
{Professor of Computer Science and Engineering}
%============================= DOCUMENT PREAMBLE =============================%
%% Create a title page, as specified by the Course-VI M.Eng. Thesis Guide.
\pdfbookmark[0]{Title Page}{title} % Sets a PDF bookmark for the title page
\maketitle
\input{abstract}
%% Create the TOC; feel free to add lists of figures/tables after this.
%% Begin "Page Left Blank" hack for forcing ToC/LoF/etc to start on odd numbered page- you may need to remove this!
\clearpage
%\hbox{}\par\vfill\centerline%
%{THIS PAGE INTENTIONALLY LEFT BLANK}%
%\vfill\newpage
%\thispagestyle{plain}
%\clearpage
%% End "Page Left Blank" hack
\pdfbookmark[0]{Contents}{contents} % Sets a PDF bookmark for the contents page
\tableofcontents
%% Begin "Page Left Blank" hack for forcing ToC/LoF/etc to start on odd numbered page- you may need to remove this!
\clearpage
%\hbox{}\par\vfill\centerline%
%{THIS PAGE INTENTIONALLY LEFT BLANK}%
%\vfill\newpage
%\thispagestyle{plain}
%\clearpage
%% End "Page Left Blank" hack
%% Create the List of Figures
\listoffigures
%% Begin "Page Left Blank" hack for forcing ToC/LoF/etc to start on odd numbered page- you may need to remove this!
\clearpage
%\hbox{}\par\vfill\centerline%
%{THIS PAGE INTENTIONALLY LEFT BLANK}%
%\vfill\newpage
%\thispagestyle{plain}
%\clearpage
%% End "Page Left Blank" hack
%================================= CHAPTERS ==================================%
\input{acknowledgements}
%%% Nomenclature- for acronyms
%\input{nomenclature}
%\acresetall % Reset the acronym definitions
\input{introduction}
\input{background}
\input{inlining}
\input{partial_inlining}
\input{system}
\input{performance}
\input{contributions}
%================================= APPENDIX ==================================%
%\input{appendix}
%=============================== BIBLIOGRAPHY ================================%
% Force the PDF bookmarks to include the References
\clearpage
\phantomsection
\renewcommand{\bibname}{References} % Rename the bibliography to referances
\begin{singlespace}
\bibliographystyle{ieeetr} % Use the IEEE style- citations are numbered in order of appearance in the doc
\addcontentsline{toc}{chapter}{References} % Add to the table of contents
\bibliography{thesis}
\end{singlespace}
%=============================================================================%
\end{document}