|
|
|||
![]() |
Department of Engineering |
| University of Cambridge > Engineering Department > computing help |
Contents I (Harish Bhanderi) have written a standard Cambridge University PhD/MPhil thesis latex template.
It is largely for students writing their fourth year projects, first year PhD reports or the PhD thesis itself. It has been written in a generic fashion to allow easy use and adaption to cater for the needs of different students, departments and also universities.
By simplying dropping your latex text code in the relevant sections (such as introduction, conclusions etc.), you'll be able to quickly produce a thesis document. The template cuts out all the mundane tasks for fidgeting with the settings to make the book class into a thesis.
Note thatThe template includes:
Please feel free to use and modify it for your own non-commercial purpose and in line with GNU General Public License
The template is very well annotated and examples are given demonstrating the relative ease with which you can change stuff to meet your own needs. As such, I have not written a Help document. I hope you find great use of it :-)
The template uses several LaTeX packages. You can find out how to change many things by looking at these packages' documentation - it's online and details. Here are a few common issues
colorlinks = true,
linkcolor = blue,
urlcolor = blue,
citecolor = red,
Either set the colors to black or set colorlinks to false.
\usepackage[round, sort, numbers, authoryear]{natbib}
(at about l.39) to
\usepackage[square, sort, numbers, authoryear]{natbib}
In the thesis.tex file you need to have
\bibliographystyle{Classes/CUEDbiblio}
as the only active bibliographystyle line
\bibliographystyle{unsrtnat}
or
\bibliographystyle{unsrt}
\chapter*{Preface\markboth{Preface}{}}
Entering the \markboth command inside the \chapter* insures that the mark will not be separated
from the title by a page break.Once you've downloaded the files, try changing the name of thesis.pdf then running
make thesis.pdf
to produce a new version. If this results in an error message
! Undefined control sequence.
l.88 \printglossary
%% Print the nomenclature
?
then you have a newer nomenclature package than the template was designed for. The easiest fix is to
Output written on thesis.pdf (19 pages, 224756 bytes). Transcript written on thesis.log.
then a thesis.pdf file has been produced that you can read with Acrobat Reader, etc, and you're ready to write your document.
Note also that
Package: nomencl 2005/09/22 v4.2 Nomenclature package (LN)
makeindex thesis.glo -s nomencl.ist -o thesis.gls
or (maybe with the new version)
makeindex thesis.nlo -s nomencl.ist -o thesis.nls
after running latex. This uses the info in thesis.*lo to create latex
code in thesis.*ls for the next latex run. Note that each time you add entries to your nomenclature list, you have to go
through the same process, running "latex ..." and "makeindex ...".
\renewcommand\nomgroup[1]{%
\ifthenelse{\equal{#1}{A}}{%
\item[\textbf{Roman Symbols}] }{% A - Roman
\ifthenelse{\equal{#1}{G}}{%
\item[\textbf{Greek Symbols}]}{% G - Greek
\ifthenelse{\equal{#1}{R}}{%
\item[\textbf{Superscripts}]}{% R - Superscripts
\ifthenelse{\equal{#1}{S}}{%
\item[\textbf{Subscripts}]}{% S - Subscripts
\ifthenelse{\equal{#1}{X}}{%
\item[\textbf{Other Symbols}]}{% X - Other Symbols
\ifthenelse{\equal{#1}{Z}}{%
\item[\textbf{Acronyms}]}% Z - Acronyms
{{}}}}}}}}
| | Cambridge University | CUED | |