-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy paththesis.tex
133 lines (108 loc) · 3.76 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
\documentclass[cs, msthesis]{usuthesis}
\usepackage{epsfig}
\usepackage{amssymb} % add ams symbols stuff
\usepackage{caption} % needed for listing captions
\usepackage{graphicx} % add graphics
\usepackage{subfigure}
\usepackage{color} % grants control of link text colors.
\usepackage[usenames,dvipsnames,rgb]{xcolor}
\usepackage{algorithm2e}
\usepackage{listings} % code listings
\usepackage{pdflscape}
\usepackage{hyperref} % make contents/ref/citations clickable
\usepackage{epstopdf}
\usepackage{enumerate} % lists of items
\usepackage{url} % url in bib
\usepackage{tikz}
\usetikzlibrary{decorations.text}
\usepackage{tkz-berge}
\usepackage{mathtools}
\usepackage{tabu}
\usepackage{longtable}
\usepackage{epstopdf}
% for formatting code
\lstset{
language=C++, % choose the language of the code
basicstyle=\footnotesize, % the size of the fonts that are used for the code
numbers=left, % where to put the line-numbers
numberstyle=\footnotesize, % the size of the fonts that are used for the line-numbers
stepnumber=1, % the step between two line-numbers. If it is 1 each line will be numbered
firstnumber=0,
lineskip={3pt},
aboveskip={2\baselineskip},
belowskip={0\baselineskip},
xleftmargin=0mm, % left margin of listing section
floatplacement=t,
numbersep=-15pt, % how far the line-numbers are from the code
backgroundcolor=\color{white}, % choose the background color. You must add \usepackage{color}
showspaces=false, % show spaces adding particular underscores
showstringspaces=false, % underline spaces within strings
showtabs=false, % show tabs within strings adding particular underscores
frame=tb, % adds a frame around the code
tabsize=4, % sets default tabsize to 2 spaces
captionpos=b, % sets the caption-position to bottom
breaklines=true, % sets automatic line breaking
breakatwhitespace=false, % sets if automatic breaks should only happen at whitespace
numberbychapter=true,
escapeinside={\%*}{*)} % if you want to add a comment within your code
}
\lstloadlanguages{
C++
}
% https://tex.stackexchange.com/questions/42271/floor-and-ceiling-functions
\DeclarePairedDelimiter{\ceil}{\lceil}{\rceil}
\DeclarePairedDelimiter{\floor}{\lfloor}{\rfloor}
\newcommand*\concat{\mathbin{\|}}
\intextsep=10mm % controls spacing before and after figures and tables
\belowcaptionskip=-5mm
%Set all linked content to be plain black text
\hypersetup{
colorlinks,
citecolor=black,
filecolor=black,
linkcolor=black,
urlcolor=black
}
% Author and Title Information
\author{Jesse Victors}
\title{The Onion Name System: \\ Tor-powered Distributed DNS \\ for Tor Hidden Services}
% The Committee
\majorprof{Dr. Ming Li}
\firstreader{Dr. Nicholas Flann}
\secondreader{Dr. Daniel Watson}
% Graduate Dean, Update as necessary
\graddean{Dr. Mark R. McLellan}
\deantitle{Vice President for Research and}
\deansecondtitle{Dean of the School of Graduate Studies}
% Degree Information
\degree{Master of Science}
\month{May}
\year{2015}
\setcounter{tocdepth}{2}
\begin{document}
\preliminaries % set frontmatter style
\maketitle
\setcounter{page}{3}
\makecopyright % optional
\include{doc/abstract}
\include{doc/pubAbstract}
%\include{doc/dedication} % optional
\include{doc/acknowledgements} % optional
\tableofcontents
%\listoftables
\listoffigures
%\include{doc/notation} % optional
%\include{doc/acronyms} % optional
\body % set main body style
% Chapters
\include{doc/introduction}
\include{doc/problemStatement}
\include{doc/challenges}
\include{doc/existingWorks}
\include{doc/solution}
\include{doc/analysis}
\include{doc/implementation}
\include{doc/futureWork}
\include{doc/conclusion}
\references{thesis}{IEEEtran.bst}
\end{document}