-
Notifications
You must be signed in to change notification settings - Fork 2
/
Paper.tex
84 lines (64 loc) · 1.89 KB
/
Paper.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
%% Author: Kanat Bekt
%% Description: Generic and customizable thesis/dissertation template.
%% URL: https://github.com/Bekt/thesis-template
\documentclass[12pt,letterpaper]{report}
\usepackage[left=1.1in, right=1.1in, top=1.0in, bottom=1.0in]{geometry}
% Check if with latex or pdflatex.
\ifx\pdftexversion\undefined
\usepackage[dvips]{graphicx}
\else
\usepackage[pdftex]{graphicx}
\fi
\usepackage{setspace}
\usepackage{titlesec}
\usepackage{enumerate}
\usepackage{amsmath}
\usepackage{fancyvrb}
\usepackage{float}
\usepackage{hyperref}
\usepackage{tabulary}
% Graphics path.
\graphicspath{{images/}}
% Table of contents.
\setcounter{secnumdepth}{1}
\setcounter{tocdepth}{1}
% Chapter title format.
\titleformat{\chapter}
{\normalfont\LARGE\bfseries}{\thechapter}{1em}{}
% Chapter, section, subsection title spacings.
\titlespacing*{\chapter}{0pt}{0ex plus 1ex minus .2ex}{2.3ex plus .2ex}
\titlespacing*{\section} {0pt}{1ex plus 1ex minus .2ex}{1.5ex plus .2ex}
\titlespacing*{\subsection} {0pt}{2ex plus 1ex minus .2ex}{1ex plus .2ex}
% Spacing after a caption.
\setlength{\belowcaptionskip}{-15pt}
% Spacing before a footer.
\setlength{\skip\footins}{0.5cm}
\begin{document}
\onehalfspacing
\include{chapters/Title}
\singlespacing
\pagenumbering{gobble}
\include{chapters/Signatures}
\onehalfspacing
\include{chapters/Abstract}
% Roman numeral numbering until introduction.
\pagestyle{plain}
\pagenumbering{roman}
\setcounter{page}{4}
\onehalfspacing
\tableofcontents
\pagebreak
% Change the numbering back to normal.
\pagestyle{plain}
\pagenumbering{arabic}
\setcounter{page}{1}
\onehalfspacing
\include{chapters/Introduction}
\include{chapters/RelatedWork}
\include{chapters/Approach}
\include{chapters/Evaluation}
\include{chapters/Conclusion}
\singlespacing
\addcontentsline{toc}{chapter}{References}
\include{chapters/References}
\end{document}