-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocument.tex
175 lines (149 loc) · 5.65 KB
/
document.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
170
171
172
173
174
175
\documentclass[12pt,letterpaper]{article}
%\usepackage[margin=1.5in]{geometry} % Set page margin
%\usepackage{setspace} % Allows \doublespacing command to be used
\usepackage{etex}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{url}
\usepackage{nth}
\usepackage{fixltx2e}
\usepackage{listings}
\usepackage{appendix}
\usepackage{courier}
\usepackage{multicol}
\usepackage{multirow}
\usepackage{adjustbox}
\usepackage[table]{xcolor}% http://ctan.org/pkg/xcolor
\usepackage[htt]{hyphenat}
\usepackage[bottom]{footmisc} % Keep footnotes stuck to the bottom
\usepackage{epigraph}
\usepackage{marginnote}
\usepackage{float}
\usepackage{pgfplots}
\usepackage{pgfplotstable}
\usepackage{tikz}
\usetikzlibrary{shapes,arrows}
%\usepackage{draftwatermark}
%\SetWatermarkColor[rgb]{1,0.85,0.85}
\usepackage{tabularx,ragged2e,booktabs,caption}
\usepackage{xspace}
\newcolumntype{C}[1]{>{\Centering}m{#1}}
\renewcommand\tabularxcolumn[1]{C{#1}}
\interfootnotelinepenalty=10000 % Don't split footnotes accross pages.
%-------------------------------------------------
% From http://tex.stackexchange.com/a/60212/31317
\usepackage{titlesec}
\usepackage[pdfpagelayout=TwoPageRight,ocgcolorlinks]{hyperref}
\usepackage{fontspec}
\setmainfont[Ligatures=TeX]{Times New Roman}
\setmonofont[Scale=MatchLowercase]{DejaVu Sans Mono}
%\usepackage[ocgcolorlinks]{hyperref}
\usepackage{xcolor}
\hypersetup{
colorlinks,
linkcolor=[HTML]{AD0000},
citecolor=[HTML]{0000AD},
urlcolor=[HTML]{000000}
}
% Signature and date command.
%\newcommand*{\SignatureAndDate}[1]{%
% \par\noindent\makebox[2.5in]{\hrulefill} \hfill\makebox[2.0in]{\hrulefill}%
% \par\noindent\makebox[2.5in][l]{#1} \hfill\makebox[2.0in][l]{Date}%
%}%
\titleclass{\subsubsubsection}{straight}[\subsection]
\newcounter{subsubsubsection}
\renewcommand\thesubsubsubsection{\thesubsubsection.\arabic{subsubsubsection}}
\renewcommand\theparagraph{\thesubsubsubsection.\arabic{paragraph}} % optional; useful if paragraphs are to be numbered
\titleformat{\subsubsubsection}
{\normalfont\normalsize\bfseries}{\thesubsubsubsection}{1em}{}
\titlespacing*{\subsubsubsection}
{0pt}{3.25ex plus 1ex minus .2ex}{1.5ex plus .2ex}
\makeatletter
\renewcommand\paragraph{\@startsection{paragraph}{5}{\z@}%
{3.25ex \@plus1ex \@minus.2ex}%
{-1em}%
{\normalfont\normalsize\bfseries}}
\renewcommand\subparagraph{\@startsection{subparagraph}{6}{\parindent}%
{3.25ex \@plus1ex \@minus .2ex}%
{-1em}%
{\normalfont\normalsize\bfseries}}
\def\toclevel@subsubsubsection{4}
\def\toclevel@paragraph{5}
\def\toclevel@paragraph{6}
\def\l@subsubsubsection{\@dottedtocline{4}{7em}{4em}}
\def\l@paragraph{\@dottedtocline{5}{10em}{5em}}
\def\l@subparagraph{\@dottedtocline{6}{14em}{6em}}
\makeatother
\setcounter{secnumdepth}{4}
\setcounter{tocdepth}{4}
%-------------------------------------------------
\author{Michael Holler}
\title{Automated Textbook Indexing with Na\"ive Bayes Classifier Trained on Wikipedia Articles}
\begin{document}
\pagenumbering{gobble}
\makeatletter
\begin{titlepage}
\begin{center}
{\LARGE \@title}
\vspace{1in}
{\Large \@author}
\vspace{1in}
\textsc{\LARGE Senior Honors Thesis}
\vspace{0.3in}
Submitted in Partial Fulfillment of Requirements of the\\
{\it College Scholars Honors Program}\\
{\it North Central College}
\vspace{1in}
\@date
\vspace{1in}
\begin{tabular}{llll}
Approved: & $\underset{\text{Thesis Director Signature}}{\line(1,0){150}}$ & Date: & \line(1,0){70} \\[1.45ex]
& \multicolumn{1}{c}{{\footnotesize Dr. Caroline St. Clair}} && \\
\end{tabular}
\vspace{0.35in}
\begin{tabular}{llll}
Approved: & $\underset{\text{Thesis Director Signature}}{\line(1,0){150}}$ & Date: & \line(1,0){70} \\[1.45ex]
& \multicolumn{1}{c}{{\footnotesize Dr. Michael De Brauw}} && \\
\end{tabular}
%Approved: $\underset{\text{Thesis Director Signature}}{\line(1,0){150}}$ \quad Date: %\line(1,0){70}
%\vspace{0.25in}
%Approved: $\underset{\text{Second Reader Signature}}{\line(1,0){150}}$ \quad Date: \line(1,0){70}
%{\LARGE Senior Honors Thesis}
\end{center}
\end{titlepage}
\makeatother
\clearpage\mbox{}\clearpage
\epigraph{You want weapons? We're in a library! Books! The best weapons in the world! This room's the greatest arsenal we could have---arm yourselves!}{---The Doctor}
\epigraph{Automatic indexing of books has failed miserably, as will be discussed below.}{---Nancy Mulvany, {\it Indexing Books}}
\epigraph{The idea behind digital computers may be explained by saying that these machines are intended to carry out any operations which could be done by a human computer.}{---Alan Turing}
\pagebreak
\pagenumbering{roman}
\tableofcontents
\clearpage\mbox{}\clearpage % Get TOC to show up on right facing page.
\phantomsection
\addcontentsline{toc}{section}{Acknowledgements}
\begin{center}
\textbf{\Large Acknowledgements}
\end{center}
I would like to express my deep gratitude to Dr. Caroline St. Clair, my thesis director, for her constant encouragement and invaluable feedback throughout this research.
I would also like to thank Dr. Michael De Brauw for his feedback as my second reader, and John Small for his help verifying my references.
Finally, I would like to thank my parents and girlfriend for their extensive support, encouragement, and understanding over the past year.
\newpage
\thispagestyle{empty}
\mbox{}
\cleardoublepage
\pagenumbering{arabic}
\input{tex/05-styles}
\input{tex/10-abstract}
% Where to put why I decided to use paragraphs for context instead of pages?
\input{tex/15-introduction}
\input{tex/20-background}
\input{tex/25-data-collection}
\input{tex/30-analysis}
\input{tex/35-conclusion}
\input{tex/40-bibliography}
\input{tex/45-appendices}
\end{document}