Norwegian version of this page

LaTeX template for PhD theses

The template consists of two parts:

  1. phduio.cls – This file defines the thesis specific layout. It is not intended to be manipulated by the end user. Please read the documentation.
  2. phdstyle.sty and .tex files – These form a skeleton for the thesis and is an optional addition to keep the writing structured and organised. These files can be edited freely by the user. See the accompanying guide for large documents.

Frequently asked questions

  1. Which TeX distribution do you recommend? TeX Live. It is an excellent distribution for Mac, Windows and Linux.
  2. How do I remove labels from the margin? Use the document class option final: \documentclass[final]{phduio}
  3. How do I compile the bibliography? The file phdstyle.sty imports the package biblatex with the option backend = biber. To compile the bibliography,  run biber on the main file or change to backend = bibtex and run bibtex.
  4. Why do I get an error saying giveninits is undefined? The file phdstyle.sty imports the package biblatex with the option giveninits = true. The error indicates that you have installed an old version of biblatex. The best solution is to update your TeX distribution to the latest version. Alternatively, change giveninits to firstinits.
  5. How can I use fragile macros inside \title or \author? Add \protect before the macro.

Need help?

If you need further assistance with the template, you may send an e-mail to latexguru@ub.uio.no.

Published Feb. 15, 2019 6:05 PM - Last modified June 20, 2019 2:42 PM