-
Notifications
You must be signed in to change notification settings - Fork 7
/
main.tex
executable file
·209 lines (155 loc) · 7.35 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
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
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Thesis / Project Report
% LaTeX Template
% Version 1.0 (08/04/14)
%
% Author:
% Darshit Shah
% https://github.com/darnir/BPHC-LaTeX-Report-Class
%
% This template is heavily based on the work of Steven Gunn and Sunil Patel
% Steven Gunn
% http://users.ecs.soton.ac.uk/srg/softwaretools/document/templates/
% and
% Sunil Patel
% http://www.sunilpatel.co.uk/thesis-template/
%
% License:
% CC BY-NC-SA 4.0 (http://creativecommons.org/licenses/by-nc-sa/4.0/)
%
% Note:
% Make sure to edit document variables in the Thesis.cls file
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%-------------------------------------------------------------------------------
% PACKAGES AND OTHER DOCUMENT CONFIGURATIONS
%-------------------------------------------------------------------------------
\documentclass[11pt, a4paper, oneside]{Thesis} % Paper size, default font size
% and one-sided paper
\graphicspath{{Pictures/}} % Specifies the directory where pictures are stored
\usepackage[square, numbers, comma, sort&compress]{natbib} % Use the natbib
% reference package - read up on this to edit the reference
% style; if you want text (e.g. Smith et al., 2012) for the
% in-text references (instead of numbers), remove 'numbers'
\title{\ttitle} % Defines the thesis title - don't touch this
\begin{document}
\frontmatter % Use roman numbering style (i, ii...) for the pre-content pages
\setstretch{1.3} % Line spacing of 1.3
% Define page headers using FancyHdr package and set up for one-sided printing
\fancyhead{} % Clears all page headers and footers
\rhead{\thepage} % Sets the right side header to show the page number
\lhead{} % Clears the left side page header
\pagestyle{fancy} % Finally, use the "fancy" page style to implement the
%FancyHdr headers
% Input all the variables used in the document. Please fill out the
% variables.tex file with all your details.
\input{variables}
%-------------------------------------------------------------------------------
% NON-CONTENT PAGES
%-------------------------------------------------------------------------------
\maketitle
\Declaration
\Certificate
\Quotation{Thanks to my solid academic training, today I can write hundreds of
words on virtually any topic without possessing a shred of information, which is
how I got a good job in journalism.}{Dave Barry}
\begin{abstract}
The Thesis Abstract is written here (and usually kept to just this page).
The page is kept centered vertically so can expand into the blank space above
the title too\ldots
\end{abstract}
\begin{acknowledgements}
The acknowledgements and the people to thank go here, don't forget to include
your project advisor\ldots
\end{acknowledgements}
%-------------------------------------------------------------------------------
% LIST OF CONTENTS/FIGURES/TABLES PAGES
%-------------------------------------------------------------------------------
% The page style headers have been "empty" all this time, now use the "fancy"
% headers as defined before to bring them back
\pagestyle{fancy}
\lhead{\emph{Contents}} % Set the left side page header to "Contents"
\tableofcontents % Write out the Table of Contents
% Set the left side page header to "List of Figures"
\lhead{\emph{List of Figures}}
\listoffigures % Write out the List of Figures
% Set the left side page header to "List of Tables"
\lhead{\emph{List of Tables}}
\listoftables % Write out the List of Tables
%-------------------------------------------------------------------------------
% ABBREVIATIONS
%-------------------------------------------------------------------------------
\clearpage % Start a new page
% Set the line spacing to 1.5, this makes the following tables easier to read
\setstretch{1.5}
\lhead{\emph{Abbreviations}} % Set the left side page header to "Abbreviations"
\listofsymbols{ll} % Include a list of Abbreviations (a table of two columns)
{
\textbf{LAH} & \textbf{L}ist \textbf{A}bbreviations \textbf{H}ere \\
%\textbf{Acronym} & \textbf{W}hat (it) \textbf{S}tands \textbf{F}or \\
}
%-------------------------------------------------------------------------------
% PHYSICAL CONSTANTS/OTHER DEFINITIONS
%-------------------------------------------------------------------------------
\clearpage % Start a new page
% Set the left side page header to "Physical Constants"
\lhead{\emph{Physical Constants}}
% Include a list of Physical Constants (a four column table)
\listofconstants{lrcl}
{
Speed of Light & $c$ & $=$ & $2.997\ 924\ 58\times10^{8}\ \mbox{ms}^{-\mbox{s}}$ (exact)\\
% Constant Name & Symbol & = & Constant Value (with units) \\
}
%-------------------------------------------------------------------------------
% SYMBOLS
%-------------------------------------------------------------------------------
\clearpage % Start a new page
\lhead{\emph{Glossary}} % Set the left side page header to "Symbols"
\listofnomenclature % List the nomenclature. (We use the glossaries package)
%-------------------------------------------------------------------------------
% DEDICATION
%-------------------------------------------------------------------------------
\setstretch{1.3} % Return the line spacing back to 1.3
\pagestyle{empty} % Page style needs to be empty for this page
% Dedication text
\Dedicatory{I would like to dedicate this thesis to my University which taught
me how to deal with all sorts of bureaucracy while doing real work.}
\addtocontents{toc}{\vspace{2em}} % Add a gap in the Contents, for aesthetics
%-------------------------------------------------------------------------------
% THESIS CONTENT - CHAPTERS
%-------------------------------------------------------------------------------
\mainmatter % Begin numeric (1,2,3...) page numbering
\pagestyle{fancy} % Return the page headers back to the "fancy" style
% Include the chapters of the thesis as separate files from the Chapters folder
% Uncomment the lines as you write the chapters
\input{Chapters/Chapter1}
%\input{Chapters/Chapter2}
%\input{Chapters/Chapter3}
%\input{Chapters/Chapter4}
%\input{Chapters/Chapter5}
%\input{Chapters/Chapter6}
%\input{Chapters/Chapter7}
%-------------------------------------------------------------------------------
% THESIS CONTENT - APPENDICES
%-------------------------------------------------------------------------------
\addtocontents{toc}{\vspace{2em}} % Add a gap in the Contents, for aesthetics
\appendix % Cue to tell LaTeX that the following 'chapters' are Appendices
% Include the appendices of the thesis as separate files from the Appendices
% folder
% Uncomment the lines as you write the Appendices
\input{Appendices/AppendixA}
%\input{Appendices/AppendixB}
%\input{Appendices/AppendixC}
\addtocontents{toc}{\vspace{2em}} % Add a gap in the Contents, for aesthetics
\backmatter
%-------------------------------------------------------------------------------
% BIBLIOGRAPHY
%-------------------------------------------------------------------------------
\label{Bibliography}
\lhead{\emph{Bibliography}} % Change the page header to say "Bibliography"
% Use the "unsrtnat" BibTeX style for formatting the Bibliography
\bibliographystyle{ieeetr}
% The references (bibliography) information are stored in the file named
% "Bibliography.bib"
\bibliography{Bibliography}
\end{document}