Kth Phd Thesis

LaTeX template for PhD theses at KTH.

Category

phd

License

Free to use (MIT)

File

thesis_demo.tex

thesis_demo.texRead-only preview
\documentclass[g5paper,10pt,final,openright,coverpage,swedish]{thesis}

%% Standard packages
\usepackage{xcolor}
\usepackage{graphicx}
\usepackage{amsmath}
\usepackage{pdfpages}
\usepackage{booktabs}
\usepackage[hidelinks]{hyperref}

%% For demo text
\usepackage{lipsum}

%% Epigraph
\usepackage{epigraph}
\makeatletter
   \let\@epipart\@endpart
   \renewcommand{\@endpart}{\thispagestyle{epigraph}\@epipart}
\makeatother         
\setlength\epigraphwidth{\textwidth}

%% Glossary
\usepackage[acronym,
nomain,
nonumberlist,
nopostdot]{glossaries}
\makeglossaries

%% Bibliography
\usepackage[citestyle=authoryear,
bibstyle=authoryear,
sorting=nyt,
backend=bibtex,
natbib]{biblatex}
\addbibresource{bibliography.bib}
\setlength\bibitemsep{0.5\baselineskip}

%% Sections with no indent
\newenvironment{zeroindent}
{\par\setlength{\parindent}{0pt}}
{\par}

%% Document information 
\title{Thesis title}
\author{Your Name}
\date{May 2020}
\shortdate{2020}
\type{Doctoral Thesis in Physics}
\division{Particle and Astroparticle Physics}
\department{Department of Physics}
\address{SE-106 91 Stockholm, Sweden}
\city{Stockholm}
\country{Sweden}
\publisher{Printed by Universitetsservice US-AB}
\copyrightline{\copyright\ Your Name, May 2020}
\trita{Get from administration/online}
\isbn{Get from administration/online}
\cplogo{images/kth_logo.png}
\cplogonblines{1} % Number of text lines below kth logo... don't ask..
\cpillustration{images/nyan_cat.png} % Front page image
\innerlogo{\includegraphics[width=32mm]{images/kth_logo.png}}
\centercomment{Cover illustration: Nyan cat} 
\foregincomment{Akademisk avhandling som med tillst{\aa}nd av Kungliga Tekniska h{\"o}gskolan i Stockholm framl{\"a}gges till offentlig granskning f{\"o}r avl{\"a}ggande av teknologie doktorsexamen [date, time, and place], AlbaNova Universitetscentrum, Roslagstullsbacken 21, Stockholm.\\ \\ Avhandlingen f{\"o}rsvaras p{\aa} engelska.}

%% MAIN DOCUMENT %%
\begin{document}

\maketitle

\cleardoublepage

\include{tex/abstract}

\include{tex/sammanfattning}

\tableofcontents

\include{tex/introduction}

\include{tex/paper_summary}

\include{tex/author_contribution}

\include{tex/acknowledgements}

% This separates the introduction from the main part of the thesis.
\mainmatter

%% Chapters
\cleardoublepage

\include{tex/part1}
\include{tex/chapter1}
\include{tex/chapter2}

\include{tex/part2}

%% List of acronyms
\glsaddall
\renewcommand{\glossarypreamble}{\glsfindwidesttoplevelname[\currentglossary]}
\setglossarystyle{alttree}
\cleardoublepage
\addcontentsline{toc}{chapter}{Acronyms}
\printglossary[type=acronym]

%% List of tables 
\cleardoublepage
\phantomsection
\addcontentsline{toc}{chapter}{Tables}
\listoftables

%% List of figures 
\cleardoublepage
\phantomsection
\addcontentsline{toc}{chapter}{Figures}
\listoffigures

%% Bibliography 
\cleardoublepage
\phantomsection
\addcontentsline{toc}{chapter}{Bibliography}
\printbibliography
\cleardoublepage

\epigraphhead[350]{\centering \textit{I see sounds.} \\ \textemdash Kanye West}
\part{Papers}
\label{papers}
% \includepdf[pages={1-}]{papers/file1.pdf}
% \includepdf[pages={1-}]{papers/file2.pdf}

\end{document}
Preview
Kth Phd Thesis preview
Kth Phd Thesis LaTeX Template | Bibby | Bibby AI