-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.tex
132 lines (106 loc) · 3.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
\documentclass[doublespace]{rackham-thesis}
% doublespace - double space document
% proposal - make proposal title page
\usepackage[linktocpage=true]{hyperref}
\usepackage[style=authoryear-comp,backend=biber]{biblatex}
\usepackage[utf8]{inputenc}
\usepackage{amsmath, amssymb, amsthm, xfrac}
\usepackage{booktabs}
\usepackage{lipsum}
\usepackage{flafter} % prevents floats before section titles
\bibliography{references}
\begin{document}
\title{Writing a Rackham Thesis: Theories and practice}
\author{Donald Knuth}
\degree{Doctor of Philosophy}
\department{Electrical Engineering}
\committee{
Professor Edsger Dijkstra, Chair \\
Professor Alan Turing \\
Professor Stephen Cook
}
\maketitle
\frontispiece{
If you optimize everything, you will always be unhappy.\\[2\baselineskip]
---Donald Knuth
} % optional
% specifying copyright is optional
\identifierpage[copyright]{[email protected]}{9999-9999-9999-9999}
\dedication{To Jill} % optional
\acknowledgments % optional
Everything here is part of the acknowledgments.
\lipsum[1]
\preface % optional
Everything here is part of the preface.
\lipsum[1]
\tableofcontents % mandatory
\listoffigures % mandatory if more than one figure
\listoftables % mandatory if more than one table
\listofappendices % mandatory if more than one appendix
% List of Abbreviations, List of Acronyms, List of Symbols: Optional; must have page number
\abstract % mandatory
This is the abstract.
\lipsum[1]
\chapter{Algorithms}
Shortest paths are wicked cool \parencite{dijkstra}.
Table~\ref{tab:alg} shows how cool some algorithms are.
\begin{table}[h]
\centering
\caption{Cool Algorithms}
\begin{tabular}{ll} \toprule
Algorithm & Coolness \\ \midrule
Shortest Path & Wicked \\
Support Vector Machine & Sick \\
Fast Fourier Transform & Disgusting \\ \bottomrule
\end{tabular}
\label{tab:alg}
\end{table}
Figure~\ref{fig:alg} is a more easily digestible representation of the same data.
\begin{figure}[h]
\centering
\begin{tabular}{r|ccc}
Sick & & x \\
Disgusting & & & x \\
Wicked & x \\ \hline
& Shortest & SVM & FFT \\
& Path \\
\end{tabular}
\caption{Cool Algorithms}
\label{fig:alg}
\end{figure}
\chapter{Turing Machines}
On the other hand---according to \textcite{turing}---Turing machines are also cool.
See Figure~\ref{fig:comp} for a contradiction.
\lipsum[4]
\begin{figure}
\centering
{
\Huge
\begin{equation*}
\lambda x . x
\end{equation*}
}
\caption{Downside of Turing machines}
\label{fig:comp}
\end{figure}
\section{Reductions}
But what cool reductions \parencite{cook}!
Table~\ref{tab:red} has the answer.
\lipsum[5-7]
\begin{table}
\centering
\caption{The Answer}
\begin{tabular}{c} \toprule
Cool Reductions \\ \midrule
3-SAT \\
Gadgets \\ \bottomrule
\end{tabular}
\label{tab:red}
\end{table}
\appendix
\chapter{Lorem}
\lipsum[8-13]
\chapter{Ipsum}
\lipsum[14]
\printbibliography
\end{document}