-
Notifications
You must be signed in to change notification settings - Fork 8
/
thesis.tex
353 lines (275 loc) · 11.3 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
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
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
\documentclass[PhD]{iitmdiss}
%\documentclass[MS]{iitmdiss}
%\documentclass[MTech]{iitmdiss}
%\documentclass[BTech]{iitmdiss}
\usepackage{times}
\usepackage{t1enc}
\usepackage{graphicx}
\usepackage{hyperref} % hyperlinks for references.
\usepackage{amsmath} % easier math formulae, align, subequations \ldots
\begin{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Title page
\title{\LaTeX\ CLASS FOR DISSERTATIONS SUBMITTED TO IITM}
\author{Name}
\date{MONTH 2009}
\department{PHYSICS}
%\nocite{*}
\maketitle
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Certificate
\certificate
\vspace*{0.5in}
\noindent This is to certify that the thesis titled {\bf \LaTeX\ CLASS
FOR DISSERTATIONS SUBMITTED TO IIT-M}, submitted by {\bf Author},
to the Indian Institute of Technology, Madras, for
the award of the degree of {\bf Doctor of Philosophy}, is a bona fide
record of the research work done by him under our supervision. The
contents of this thesis, in full or in parts, have not been submitted
to any other Institute or University for the award of any degree or
diploma.
\vspace*{1.5in}
\begin{singlespacing}
\hspace*{-0.25in}
\parbox{2.5in}{
\noindent {\bf Prof.~1} \\
\noindent Research Guide \\
\noindent Professor \\
\noindent Dept. of Physics\\
\noindent IIT-Madras, 600 036 \\
}
\hspace*{1.0in}
%\parbox{2.5in}{
%\noindent {\bf Prof.~S.~C.~Rajan} \\
%\noindent Research Guide \\
%\noindent Assistant Professor \\
%\noindent Dept. of Aerospace Engineering\\
%\noindent IIT-Madras, 600 036 \\
%}
\end{singlespacing}
\vspace*{0.25in}
\noindent Place: Chennai\\
Date: 19th January 2009
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Acknowledgements
\acknowledgements
Thanks to all those who made \TeX\ and \LaTeX\ what it is today.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Abstract
\abstract
\noindent KEYWORDS: \hspace*{0.5em} \parbox[t]{4.4in}{\LaTeX ; Thesis;
Style files; Format.}
\vspace*{24pt}
\noindent A \LaTeX\ class along with a simple template thesis are
provided here. These can be used to easily write a thesis suitable
for submission at IIT-Madras. The class provides options to format
PhD, MS, M.Tech.\ and B.Tech.\ thesis. It also allows one to write a
synopsis using the same class file. Also provided is a BIB\TeX\ style
file that formats all bibliography entries as per the IITM format.
The formatting is as (as far as the author is aware) per the current
institute guidelines.
\pagebreak
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Table of contents etc.
\begin{singlespace}
\tableofcontents
\thispagestyle{empty}
\listoftables
\addcontentsline{toc}{chapter}{LIST OF TABLES}
\listoffigures
\addcontentsline{toc}{chapter}{LIST OF FIGURES}
\end{singlespace}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Abbreviations
\abbreviations
\noindent
\begin{tabbing}
xxxxxxxxxxx \= xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx \kill
\textbf{IITM} \> Indian Institute of Technology, Madras \\
\textbf{RTFM} \> Read the Fine Manual \\
\end{tabbing}
\pagebreak
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Notation
\chapter*{\centerline{NOTATION}}
\addcontentsline{toc}{chapter}{NOTATION}
\begin{singlespace}
\begin{tabbing}
xxxxxxxxxxx \= xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx \kill
\textbf{$r$} \> Radius, $m$ \\
\textbf{$\alpha$} \> Angle of thesis in degrees \\
\textbf{$\beta$} \> Flight path in degrees \\
\end{tabbing}
\end{singlespace}
\pagebreak
\clearpage
% The main text will follow from this point so set the page numbering
% to arabic from here on.
\pagenumbering{arabic}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Introduction.
\chapter{INTRODUCTION}
\label{chap:intro}
This document provides a simple template of how the provided
\verb+iitmdiss.cls+ \LaTeX\ class is to be used. Also provided are
several useful tips to do various things that might be of use when you
write your thesis.
Before reading any further please note that you are strongly advised
against changing any of the formatting options used in the class
provided in this directory, unless you are absolutely sure that it
does not violate the IITM formatting guidelines. \emph{Please do not
change the margins or the spacing.} If you do change the formatting
you are on your own (don't blame me if you need to reprint your entire
thesis). In the case that you do change the formatting despite these
warnings, the least I ask is that you do not redistribute your style
files to your friends (or enemies).
It is also a good idea to take a quick look at the formatting
guidelines. Your office or advisor should have a copy. If they
don't, pester them, they really should have the formatting guidelines
readily available somewhere.
To compile your sources run the following from the command line:
\begin{verbatim}
% latex thesis.tex
% bibtex thesis
% latex thesis.tex
% latex thesis.tex
\end{verbatim}
Modify this suitably for your sources.
To generate PDF's with the links from the \verb+hyperref+ package use
the following command:
\begin{verbatim}
% dvipdfm -o thesis.pdf thesis.dvi
\end{verbatim}
\section{Package Options}
Use this thesis as a basic template to format your thesis. The
\verb+iitmdiss+ class can be used by simply using something like this:
\begin{verbatim}
\documentclass[PhD]{iitmdiss}
\end{verbatim}
To change the title page for different degrees just change the option
from \verb+PhD+ to one of \verb+MS+, \verb+MTech+ or \verb+BTech+.
The dual degree pages are not supported yet but should be quite easy
to add. The title page formatting really depends on how large or
small your thesis title is. Consequently it might require some hand
tuning. Edit your version of \verb+iitmdiss.cls+ suitably to do this.
I recommend that this be done once your title is final.
To write a synopsis simply use the \verb+synopsis.tex+ file as a
simple template. The synopsis option turns this on and can be used as
shown below.
\begin{verbatim}
\documentclass[PhD,synopsis]{iitmdiss}
\end{verbatim}
Once again the title page may require some small amount of fine
tuning. This is again easily done by editing the class file.
This sample file uses the \verb+hyperref+ package that makes all
labels and references clickable in both the generated DVI and PDF
files. These are very useful when reading the document online and do
not affect the output when the files are printed.
\section{Example Figures and tables}
Fig.~\ref{fig:iitm} shows a simple figure for illustration along with
a long caption. The formatting of the caption text is automatically
single spaced and indented. Table~\ref{tab:sample} shows a sample
table with the caption placed correctly. The caption for this should
always be placed before the table as shown in the example.
\begin{figure}[htpb]
\begin{center}
\resizebox{50mm}{!} {\includegraphics *{iitm}}
\resizebox{50mm}{!} {\includegraphics *{iitm}}
\caption {Two IITM logos in a row. This is also an
illustration of a very long figure caption that wraps around two
two lines. Notice that the caption is single-spaced.}
\label{fig:iitm}
\end{center}
\end{figure}
\begin{table}[htbp]
\caption{A sample table with a table caption placed
appropriately. This caption is also very long and is
single-spaced. Also notice how the text is aligned.}
\begin{center}
\begin{tabular}[c]{|c|r|} \hline
$x$ & $x^2$ \\ \hline
1 & 1 \\
2 & 4 \\
3 & 9 \\
4 & 16 \\
5 & 25 \\
6 & 36 \\
7 & 49 \\
8 & 64 \\ \hline
\end{tabular}
\label{tab:sample}
\end{center}
\end{table}
\section{Bibliography with BIB\TeX}
I strongly recommend that you use BIB\TeX\ to automatically generate
your bibliography. It makes managing your references much easier. It
is an excellent way to organize your references and reuse them. You
can use one set of entries for your references and cite them in your
thesis, papers and reports. If you haven't used it anytime before
please invest some time learning how to use it.
I've included a simple example BIB\TeX\ file along in this directory
called \verb+refs.bib+. The \verb+iitmdiss.cls+ class package which
is used in this thesis and for the synopsis uses the \verb+natbib+
package to format the references along with a customized bibliography
style provided as the \verb+iitm.bst+ file in the directory containing
\verb+thesis.tex+. Documentation for the \verb+natbib+ package should
be available in your distribution of \LaTeX. Basically, to cite the
author along with the author name and year use \verb+\cite{key}+ where
\verb+key+ is the citation key for your bibliography entry. You can
also use \verb+\citet{key}+ to get the same effect. To make the
citation without the author name in the main text but inside the
parenthesis use \verb+\citep{key}+. The following paragraph shows how
citations can be used in text effectively.
More information on BIB\TeX\ is available in the book by
\cite{lamport:86}. There are many
references~\citep{lamport:86,prabhu:xx} that explain how to use
BIB\TeX. Read the \verb+natbib+ package documentation for more
details on how to cite things differently.
Here are other references for example. \citet{viz:mayavi} presents a
Python based visualization system called MayaVi in a conference paper.
\citet{pan:pr:flat-fst} illustrates a journal article with multiple
authors. Python~\citep{py:python} is a programming language and is
cited here to show how to cite something that is best identified with
a URL.
\section{Other useful \LaTeX\ packages}
The following packages might be useful when writing your thesis.
\begin{itemize}
\item It is very useful to include line numbers in your document.
That way, it is very easy for people to suggest corrections to your
text. I recommend the use of the \texttt{lineno} package for this
purpose. This is not a standard package but can be obtained on the
internet. The directory containing this file should contain a
lineno directory that includes the package along with documentation
for it.
\item The \texttt{listings} package should be available with your
distribution of \LaTeX. This package is very useful when one needs
to list source code or pseudo-code.
\item For special figure captions the \texttt{ccaption} package may be
useful. This is specially useful if one has a figure that spans
more than two pages and you need to use the same figure number.
\item The notation page can be entered manually or automatically
generated using the \texttt{nomencl} package.
\end{itemize}
More details on how to use these specific packages are available along
with the documentation of the respective packages.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Appendices.
\appendix
\chapter{A SAMPLE APPENDIX}
Just put in text as you would into any chapter with sections and
whatnot. Thats the end of it.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Bibliography.
\begin{singlespace}
\bibliography{refs}
\end{singlespace}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% List of papers
\listofpapers
\begin{enumerate}
\item Authors.... \newblock
Title...
\newblock {\em Journal}, Volume,
Page, (year).
\end{enumerate}
\end{document}