When writing up my PhD thesis, I learned that the University of Stavanger has no official Latex template, only a very basic Word template. I ended up making my own Latex template, based on the available Word template.
The Latex template
The template consists of one style file and five content files, in addition to a bibliography file and the University’s logo.
The style file
The style file is the key part of the template, defining margins, text fonts and sizes, page numbering and so on. It also defines the style of the title page, colophon, table of contents, page numbering and references. The style file also defines commands to attach papers at the end of the thesis.
The content files
The five following content files is where the template user will input his text: “Preface.tex”, “Abstract.tex”, “Introduction.tex”, “Paper_list.tex” and “Thesis.tex”.
“Thesis.tex” is the main Latex file, which will generate the PhD thesis as a PDF file. In this file, the user will have to specify the thesis title, author name, year, faculty and department name, and data for the colophon page. The titles of attached papers is also specified in this file. You can also adjust how the attached papers should be imported to the document:
\includepdf[pages=-,scale=0.74,offset=0mm 10mm,pagecommand={\thispagestyle{plain}}]{papers/Paper1.pdf}
Further information on the papers are entered in the “Paper_list.tex” file.
Citations referred to in “Introduction.tex” must be added to the bibliography file “Thesis_bib.bib”.
The result
The Github directory also includes “Thesis.pdf”, which is generated using filler text, to illustrate how the thesis could end up looking.