forked from crharshaw/yale-dissertation-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.tex
98 lines (67 loc) · 1.8 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
\documentclass[12pt]{report}
\usepackage[letterpaper,margin=1.0in,left=1.5in]{geometry}
% for double table of contents: https://tex.stackexchange.com/questions/260445/separate-table-of-contents-for-appendix
\usepackage{etoc}
% packages used
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage[format=plain,font=small,labelfont=bf,textfont=up]{caption}
\usepackage{graphicx}
\usepackage{natbib}
\usepackage{setspace}
\setstretch{1.05}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{amsthm}
\usepackage{bbm}
\usepackage{mathtools}
\mathtoolsset{showonlyrefs,showmanualtags}
\usepackage{xcolor}
\usepackage{blindtext} % used only for generating fake text
\usepackage[hidelinks]{hyperref} % this should go last apparently?
\input{content/commands}
\begin{document}
%%%%%%%%%%%%%%%%%
% Preamble to Dissertation
%%%%%%%%%%%%%%%%%
\pagenumbering{gobble}
\input{content/abstract}
\input{content/title-page}
\input{content/copyright}
\input{content/dedication}
\pagenumbering{roman}
\setcounter{page}{3}
\input{content/acknowledgment}
% set up main table of contents
\etocdepthtag.toc{mtchapter}
\etocsettagdepth{mtchapter}{subsection}
\etocsettagdepth{mtappendix}{none}
\tableofcontents
\newpage
\pagenumbering{arabic}
%%%%%%%%%%%%%%%%%
% Main Body of Dissertation
%%%%%%%%%%%%%%%%%
\input{content/intro}
\input{content/chapter-1}
\input{content/chapter-2}
%%%%%%%%%%%%%%%%%
% Bibliography
%%%%%%%%%%%%%%%%%
\bibliographystyle{apalike}
\begin{singlespace}
\bibliography{main.bib}
\end{singlespace}
%%%%%%%%%%%%%%%%%
% Appendices
%%%%%%%%%%%%%%%%%
\newpage
\appendix
% set up appendix table of contents
\etocdepthtag.toc{mtappendix}
\etocsettagdepth{mtchapter}{none}
\etocsettagdepth{mtappendix}{subsection}
\tableofcontents
\include{content/appendix}
\end{document}