Go to file
2013-11-17 18:28:28 +00:00
Abstract initial commit 2013-11-14 18:51:42 +00:00
Acknowledgement initial commit 2013-11-14 18:51:42 +00:00
Appendix1 initial commit 2013-11-14 18:51:42 +00:00
Appendix2 initial commit 2013-11-14 18:51:42 +00:00
Chapter1 Fixed references issue 2013-11-17 15:35:59 +00:00
Chapter2 Subfig working 2013-11-17 15:27:33 +00:00
Chapter3 Fixed references issue 2013-11-17 15:35:59 +00:00
Classes Dedication environment 2013-11-17 18:28:28 +00:00
Declaration initial commit 2013-11-14 18:51:42 +00:00
Dedication initial commit 2013-11-14 18:51:42 +00:00
Figs Testing dvi and PS support :) 2013-11-16 18:30:39 +00:00
Preamble Fixed references issue 2013-11-17 15:35:59 +00:00
References URL style in referencing plainnat 2013-11-16 10:46:13 +00:00
.gitignore Testing dvi and PS support :) 2013-11-16 18:30:39 +00:00
compile-thesis.sh Make Index Working 2013-11-16 17:13:31 +00:00
LICENSE initial commit 2013-11-14 18:51:42 +00:00
Makefile Shell script and Makefile 2013-11-16 00:45:21 +00:00
README.md Update to Readme 2013-11-17 11:54:48 +00:00
thesis.pdf Dedication environment 2013-11-17 18:28:28 +00:00
thesis.tex Updates to Readme, Preamble settings and Template 2013-11-17 11:51:10 +00:00

phd-thesis-template

A PhD thesis LaTeX template for Cambridge University, based on Krishna Kumar's King's latex course, CUED V1.1 Template by H. Banderi, and Cambridge Computer Laboratry Template.

Build your thesis

The template supports PDF, DVI and PS formats. All three formats can be generated with the provided Makefile.

To build the PDF version of your thesis, run:

make

or

./makepdf

This build procedure uses pdflatex and will produce thesis.pdf.

To produce DVI and PS versions of your document, you should run:

./makeps

or

make BUILD_STRATEGY=latex

This will use the latex command to build the document and will produce thesis.dvi, thesis.ps and thesis.pdf documents.

Clean unwanted files

To clean unwanted clutter (all LaTeX auto-generated files), run:

make clean

Note: the Makefile itself is take from and maintained at here.


Usage details

Class Options

PhDThesisPSnPDF supports all the options of the standard book and report classes (on which it is based).

It also supports some custom options:

  • book or report: Supports both book and report class. Default is book.

  • twoside or oneside: This is especially useful for printing double side (twoside) or single side.

  • 10pt or 11pt or 12pt: Font Size. Default set as 11pt.

  • printmode: Supports PrintMode and Online Version with different page margins and hyperlink styles. Use printmode in the options to activate Print Version with appropriate margins and page layout and view styles. Leaving the options field blank will activate Online version.

  • index: Including this option in \documentclass build the index, which you can put at the and of the thesis.

    Instructions on how to use the index can be found here.

    Note: the package makeidx is used to create the index.

Custom Settings

  • The depth of table of contents can be set using: \setcounter{secnumdepth}{3} \setcounter{tocdepth}{3} a depth of [3] indicates to a level of \subsubsection or #.#.#.#. Default set as 2.

  • To hide sections from appearing in TOC use: \tochide\section{Section name} in your TeX files

  • To restrict the length of the figure caption in List of figures use in preamble.tex: \caption[Caption that you want to appear in TOC]{Actual caption of the figure} \section[short]{title}

  • Define custom caption style for figure and table caption in preamble.tex using: \RequirePackage[small,bf,figurename=Fig.,labelsep=space,tableposition=top]{caption}

  • Bibliography with Author-Year Citation in preamble.tex: \RequirePackage[round, sort, numbers, authoryear]{natbib}


Troubleshooting

Q1: I found a bug in the template. Where do I report bugs?

You can report issues through our GitHub repository.

You can also mail the maintainers directly.

Q2: Where can I find the thesis formatting guidelines this class is based on?

http://www.eng.cam.ac.uk/postgraduate/assets/library/document/p/original/planningphd.pdf

Q3: Can I use my own Makefile?

By all means. We are currently using the very nice (and smart) Makefile built specifically for LaTeX:

http://code.google.com/p/latex-makefile/

The university updates its logo every now and then. You can find up-to-date logos on this page (subject to change without notice).

Download and exchange the new logos with CUni.eps and/or CUni.pdf.

Q5: Where can I find extra fonts (like Adobe Sabon, Adobe Utopia etc.)?

This template uses Libertine fonts instead of Arial/Times/Sabon. After you've installed the fonts, add somewhere in the preamble (before \begin{document}) the following command:

\renewcommand\rmdefault{psb}

Q6: How should I count the number of words in my thesis?

You can run the following command: ps2ascii thesis.pdf | wc -w


TODO list

  • Support custom margins

  • Support non-free fonts!