-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy paththesis.tex
141 lines (117 loc) · 4.18 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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
\documentclass[phd, greychapternumbers]{mqthesis}
%----------------------------------------------------------
% OPTIONS
% Options you can use in the documentclass above:
%
% phd/mres/hons = set the degree text [default=phd]
% copyrightpage = print a copyright page on the back
% of the title page [default=false].
% NOTE: if true, you will have to manually change the name
% and date in the mqthesis.cls file.
% examinerscopy = print "Examiner's Copy" of title page and
% change linespacing to 1.5 [default=false]
% greychapternumbers = print large chapter numbers in grey
% instead of MQ corporate "sand"
%----------------------------------------------------------
% this shows what labels you are using for cross references
% \usepackage{showkeys}
\usepackage{helvet}
% ifthenelse for if loops
\usepackage{etoolbox}
%---------------------------------------------------------
% SPECIFIC OPTIONS
% Other options to use in this thesis:
%
% smallcapschapter = use smallcaps for chapter titles
\newtoggle{smallcapschapter}
\togglefalse{smallcapschapter} % Change to true if you want capitals for chapter titles/headings
%----------------------------------------------------------
%----------------------------------------------------------
% STRUCTURE
% this document is a skeleton which pulls in the meat of the thesis
% from other files. Comment out and add lines as appropriate.
%----------------------------------------------------------
\begin{document}
%----------------------------------------------------------
% FRONT
% Acknowledgements, titlepage, abstract, list of publications
%----------------------------------------------------------
\frontmatter
\title{Your thesis title} % put your title here
\author{Your name} % put your name here
\department{Your department} % put your department here
\titlepage
\input{acknowledge} % acknowledgements (acknowledge.tex)
\input{abstract} % abstract (abstract.tex)
\tableofcontents
% comment out these as required for your discipline
\listoffigures
\listoftables
\input{listofpublications}%SRM Moved to after TOC (listofpublications.tex)
%----------------------------------------------------------
% MAIN
% include chapters as needed
%----------------------------------------------------------
\mainmatter
\makeatletter
\let\old@makechapterhead\@makechapterhead
%----------------------------------------------------------
% Use old school chapter headers
% This uses less space, but may not strictly follow
% the MQ style.
% Comment/uncomment out the following
%----------------------------------------------------------
\makeatletter
\def\thickhrulefill{\leavevmode \leaders \hrule height 1ex \hfill \kern \z@}
\def\@makechapterhead#1{%
{\parindent \z@ \raggedright
\reset@font
\hrule
\vspace*{10\p@}%
\par
\iftoggle{smallcapschapter}{ %SRM: Control smallcaps chapter titles
\Large \sc \@chapapp{} \Huge\bfseries \thechapter
}{
\Large \@chapapp{} \Huge\bfseries \thechapter
}
\par\nobreak
\vspace*{10\p@}%
\hrule
\par
\vspace*{1\p@}%
\hrule
%\vskip 40\p@
\vspace*{20\p@}
\Huge \bfseries #1\par\nobreak
\vskip 70\p@
}}
%----------------------------------------------------------
% Use old school chapter headers
% This uses less space, but may not strictly follow
% the MQ style.
% Comment/uncomment out the previous
%----------------------------------------------------------
% Introduction
\input{chap_intro}
% Other chapters in here
\input{chap_other}
% Conclusion
\input{chap_conclusion}
\makeatletter
\let\@makechapterhead\old@makechapterhead
%----------------------------------------------------------
% BACK
% list of symbols / references / index etc
%----------------------------------------------------------
\backmatter
% your thesis may not need this, so comment out or delete the following line
\input{listofsymbols}
% Bibliography, in BibTeX format (the references.bib file)
\bibliography{references}
%----------------------------------------------------------
% APPENDICES
% include chapters as needed (will be numbered differently)
%----------------------------------------------------------
\appendix
\input{chap_appendix}
\end{document}