-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy paththesis.tex
127 lines (111 loc) · 4.44 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
% ************************************************************************
% A Thesis Template
% for the Department of Mathematics, University of Toronto
% Copyright (C) 2019 Fabian Parsch
%
% This template is based on, and the vast majority of credit goes to
%
% A Classic Thesis Style v4.6
% An Homage to The Elements of Typographic Style
% Copyright (C) 2018 André Miede and Ivo Pletikosić
%
% Please see the file ClassicThesis.pdf for more information.
% Your comments are highly appreciated.
%
% If you like the style then the authors of Classic Thesis would
% appreciate a postcard. Their address can be found in the file
% ClassicThesis.pdf. A collection of postcards they received so far
% is available online at http://postcards.miede.de
%
% License:
% This program is free software; you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation; either version 2 of the License, or
% (at your option) any later version.
%
% This program is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
% GNU General Public License for more details.
%
% You should have received a copy of the GNU General Public License
% along with this program; see the file COPYING. If not, write to
% the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
% Boston, MA 02111-1307, USA.
% ************************************************************************
% This template is mostly a simplified and rearranged version of ClassicThesis v4.6
% https://ctan.org/pkg/classicthesis
% You are encouraged to check out ClassicThesisManual.pdf
% Besides simplifications, some slight adjustments were made to fulfill the University of Toronto School of Graduate Studies style requirements. It also includes some adjustments for better integration with the ams packages and for letter sized paper.
% The following four lines are necessary due to compatibility issues. They are suppressing some errors.
\RequirePackage{silence}
\WarningFilter{scrreprt}{Usage of package `titlesec'}
\WarningFilter{scrreprt}{Activating an ugly workaround}
\WarningFilter{titlesec}{Non standard sectioning command}
\RequirePackage{etoolbox}
\newtoggle{paper}
% Toggle for electronic or paper mode.
\togglefalse{paper}
% \toggletrue{paper}
% Option 1: Same margins on both sides and no "open right"
% This is the best option for the digital version of your thesis.
\iftoggle{paper}{
\PassOptionsToClass{twoside}{scrreprt}
}{
\PassOptionsToClass{oneside}{scrreprt}
}
\documentclass[
numbers=noenddot,
headinclude,
footinclude,
cleardoublepage=empty,
abstract=on,
BCOR=5mm,
paper=letter,
fontsize=11pt
]{scrreprt}
% Any packages, newcommands, ... should be put in the thesisconfig file.
\input{thesisconfig}
\acrodef{MVA}{Multivariable Alexander polynomial}
\begin{document}
% If you are wondering what \frenchspacing does, check out the Internet then decide if you want to use it.
\frenchspacing
\raggedbottom
\newcommand{\addchapter}[1]{\cleardoublepage\include{#1}}
\newcommand{\addchaptereven}[1]{\cleardoublepageeven\include{#1}}
\selectlanguage{english}
% Frontmatter
% Note: SGS requires that the abstract is on the second page. Do not move it further down.
% Roman page numbering is also required by SGS.
\pagenumbering{roman}
\pagestyle{plain}
\include{frontbackmatter/titlepage}
\addchapter{frontbackmatter/abstract}
\addchapter{frontbackmatter/dedication}
\addchapter{frontbackmatter/acknowledgements}
% The following command will make sure that publications are on the left and contents are on the right.
% \addchaptereven{frontbackmatter/publications}
\addchapter{frontbackmatter/contents}
% Add any chapters here
\pagestyle{scrheadings}
\iftoggle{paper}{%
\pagenumbering{arabic}
}{%
\renewcommand{\thepage}{\arabic{page}}
}
\addchapter{chapters/summary.tex}
\addchapter{chapters/introduction}
\addchapter{chapters/perturbedGaussians}
\addchapter{chapters/constructingTheTrace}
\addchapter{chapters/conclusions}
\appendix
\cleardoublepage
\include{chapters/code}
\include{frontbackmatter/table-of-values}
% Backmatter
\cleardoublepage
\include{frontbackmatter/bibliography}
% The following command will make sure that the colophon is on an even page (the ``back'' of your thesis)
\cleardoubleevenpage
\include{frontbackmatter/colophon}
\end{document}