-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy paththesis.tex
167 lines (115 loc) · 5.97 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
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
%!TEX TS-program = pdflatex
%!TEX spellcheck = en-AU
%
%% ----------------------------------------------------------------
%% thesis.tex -- MAIN FILE (the one that you compile with LaTeX)
%% ----------------------------------------------------------------
% Set up the document
\documentclass[a4paper, 11pt, twoside]{template/thesis} % Use the "thesis" style, based on the ECS thesis style by Steve Gunn
\graphicspath{{figures/}} % Location of the graphics files (set up for graphics to be in PDF format)
% You can also include multiple paths. eg: \graphicspath{{figures/}{figures/chapter1}{figures/chapter2}}
% Include any extra LaTeX packages required
\hypersetup{urlcolor=blue, colorlinks=false} % Colours hyperlinks in blue, but this can be distracting if there are many links.
% Thesis Preamble
\thesistitle {Thesis title}
\keywordsvar {Key, Words}
\authors {Author Name}
\supervisor {Supervisor Name}
\cosupervisor {Co-supervisor name}
%% ----------------------------------------------------------------
\begin{document}
\frontmatter % Begin Roman style (i, ii, iii, iv...) page numbering
% Set up the Title Page
\title {\thesistitlename}
\authors {\texorpdfstring
{\href{[email protected]}{Author Name}}
{Author Name}
}
\addresses {\groupname\\\deptname\\\univname} % Do not change this here, instead these must be set in the "thesis.cls" file, please look through it instead
\date {\today}
\subject {}
\keywords {\keywordsname}
\maketitle
%% ----------------------------------------------------------------
\setstretch{1.5} % It is better to have smaller font and larger line spacing than the other way round
% ----------------------------------------------------------------
%Declaration Page required for the thesis, your institution may give you a different text to place here
\Declaration{
\addtocontents{toc}{\vspace{1em}} % Add a gap in the Contents, for aesthetics
\vspace{25pt}
I certify that the work in this thesis has not previously been submitted for a degree nor has it been submitted as part of requirements for a degree except as fully acknowledged within the text.
I also certify that the thesis has been written by me. Any help that I have received in my research work and the preparation of the thesis itself has been acknowledged. In addition, I certify that all information sources and literature used are indicated in the thesis.
\vspace{100pt}
Signed:\\
\rule[1em]{25em}{0.5pt} % This prints a line for the signature
Date:\\
\rule[1em]{25em}{0.5pt} % This prints a line to write the date
}
\cleardoublepage % Declaration ended, now start a new page
%% ----------------------------------------------------------------
\fancyhead[RE,LO]{\it Abstract}
% The Abstract Page
\addtotoc{Abstract} % Add the "Abstract" page entry to the Contents
\abstract{
\addtocontents{toc}{\vspace{1em}} % Add a gap in the Contents, for aesthetics
%Suggested by Bruce as para for each: problem(s), method(s), results, conclusion
\lipsum[1]
\todo{TODO}
}
\cleardoublepage % Abstract ended, start a new page
%% ----------------------------------------------------------------
\fancyhead[RE,LO]{\it\leftmark}
\setstretch{1.5} % Reset the line-spacing to 1.3 for body text (if it has changed)
% The Acknowledgements page, for thanking everyone
\acknowledgements{
\addtocontents{toc}{\vspace{1em}} % Add a gap in the Contents, for aesthetics
\lipsum[2]
\todo{TODO}
}
\cleardoublepage % End of the Acknowledgements
% ----------------------------------------------------------------
%\input{./Chapters/Foreword} % Foreword
%\clearpage % End of the Acknowledgements
%\pagestyle{fancy} %The page style headers have been "empty" all this time, now use the "fancy" headers as defined before to bring them back
\fancyhead[RE,LO]{\it\leftmark}
%% ----------------------------------------------------------------
\tableofcontents % Write out the Table of Contents
% ----------------------------------------------------------------
\listoffigures % Write out the List of Figures
%% ----------------------------------------------------------------
\listoftables % Write out the List of Tables
%
%%% ----------------------------------------------------------------
\setstretch{1.5} % Set the line spacing to 1.5, this makes the following tables easier to read
\clearpage % Start a new page
\input{chapters/acronyms} % This file contains all the Acronyms, Abbreveations and Nomenclature.
\begingroup
\cleardoublepage % Start a new page
\renewcommand\bibname{List of Publications}
%\input{chapters/pub_list.bbl}
% Before uncommenting this build, chapters/pub_list.tex
\endgroup
%% ----------------------------------------------------------------
\mainmatter % Begin normal, numeric (1,2,3...) page numbering
\setstretch{1.5} % Reset the line-spacing to 1.3 for body text (if it has changed)
\input{chapters/chapter1} \clearpage % Introduction
\input{chapters/chapter2} \clearpage % Review of Related Work
%\input{chapters/chapter3}
%\input{chapters/chapter7} % Conclusion
%% ----------------------------------------------------------------
% Now begin the Appendices, including them as separate files
\addtocontents{toc}{\vspace{2em}} % Add a gap in the Contents, for aesthetics
\addtotoc{Appendices}
\appendix % Cue to tell LaTeX that the following 'chapters' are Appendices
%\input{./Appendices/AppendixA} \clearpage % Data Tables
\addtocontents{toc}{\vspace{2em}} % Add a gap in the Contents, for aesthetics
\backmatter
%% ----------------------------------------------------------------
\label{Bibliography}
\fancyhead[RE,LO]{\emph{Bibliography}} % Change the left side page header to "Bibliography"
\bibliographystyle{template/unsrtnat} % Use the "unsrtnat" BibTeX style for formatting the Bibliography
\bibliography{library} % The references (bibliography) information are stored in the file named "Bibliography.bib"
%compile todo list as well ---------------------------------
%\input{./todo} %To do list
\end{document} % The End
%% ----------------------------------------------------------------