-
Notifications
You must be signed in to change notification settings - Fork 54
/
main.tex
200 lines (148 loc) · 6.79 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
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Thesis / Project Report
% LaTeX Template
% Version 2.0 (08/04/16)
%
% Author:
% Siddhant Shrivastava
% https://github.com/sidcode/bits-pilani-thesis-template-latex
%
% This template is heavily based on the work of Darshit Shah, Steven Gunn and Sunil Patel
% Darshit Shah
% https://github.com/darnir/BPHC-LaTeX-Report-Class
% 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[backend=bibtex]{biblatex}
\bibliography{Bibliography.bib}
\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{Insert Random Quote here. Publish like a boss.}{Your Name}
\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{Dedicate this to someone, anyone.}
\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"
\printbibliography
\end{document}