Thesis Templates
Here you find two types of templates for the thesis format according to the University of Durham regulation, LaTeX and LyX templates.  I really recommend you to use LaTeX template. In my humble opinion for the current version of LyX, LaTeX is much better than LyX.  If you use the LaTeX template you can compile your thesis on different machines in the department and ITS.  The LyX template is written using LyX Version 1.1.6 fix1.  So it will not compile in the older version of LyX.  Please make sure the LyX Version in your machine by clicking  on the pop menu help in the LyX window.

LaTeX Template
Please load "latex.tar.gz" and unpack it in an empty directory. After unpacking it you will find the following files: 
 
dmathesis.cls This is the class that sets up the page and its style. 
format.tex  This file is required for dmathesis.cls.  Here you include the packages and short cuts you want to use.  If you want to remove some packages that I have included in this file, please don't remove  the fancyhdr package, since it is required for the page style. 
Note: You need to remove "\bfseries\today" in this file for the final copy of your thesis.  I put this here because the wisdom behind it
frontpage.tex Here you type, in the appropriate place, the title of your thesis, your name,  your research group, the year of your thesis,  the dedication if you have one, the abstract of yor work, the declaration,  and the acknowledgements.
durham.eps This file is required by frontpage.tex (logo of the university of durham).
thesis.tex This the file you have to compile (latex).
chapter1.tex
chapter2.tex
chapter3.tex
chapter4.tex
chapter5.tex
chapter6.tex
Here you type chapter1 to chapter 6 of your thesis.  If you have more than 6 chapters, just copy one of these chapters and give it  the appropriate name. 
ref.tex  Here you type the references. If you plan to use bibtex please modify this file.
append.tex  Here you type the appendix of your thesis if you have one
showlabel.sty This file is required if you need to show the labels, see the beginning of the file thesis.tex.

This is an example of compiling this template, thesislatex.ps. 

LyX Template
 Please load "lyx.tar.gz" and unpack it in an empty directory. After unpacking you will find the following files:
 
preamble.tex This file is to format the page style of your thesis.  Here also you include the packages you want to use. If you want to remove some packages that I have included in this file, please don't remove  the fancyhdr package, since it is required for the page style.  I have included this file in all of the LaTeX preamble for the lyx files below.  If you have modified the LaTeX preamble in the LyX files below and you want to return to the original LaTeX preamble I have included, just replace the LaTeX preamble in all LyX file below with this file.
durham.eps This file is required by frontpage.tex (logo of the university of durham).
thesis.lyx The file you have to compile to obtain a correct cross references.
frontpage.lyx Here you type, in the appropriate place, the title of your thesis, your name,  your research group, the year of your thesis,  the dedication if you have one, abstract of your work, the declaration, the acknowledgements.
chapter1.lyx
chapter2.lyx
chapter3.lyx
chapter4.lyx
chapter5.lyx
chapter6.lyx
Here you type chapter1 to chapter 6 of your thesis.  If you have more than 6 chapters, just copy one of this chapter and gives an appropriate name.  I have put the file preamble.tex in the preamble LaTeX each of the files.
ref.lyx Here you type the references. If you plan to use bibtex please modify this file.
append.lyx Here you type the appendix if you have one.

This is an example of compiling this template, thesislyx.ps.

Disclaimer and Copyright
There is no copyright for these templates. If you have some times please improve these templates so it will benefit a new generation in the department.  I have done my best to write this template, but there is no warranty this template will work in the future. 

Durham, June 2001
Imran M.