Introduction
Theses and dissertations are among the most complex documents a researcher produces. LaTeX handles the demanding formatting requirements of academic institutions while maintaining professional typesetting quality. Most universities provide LaTeX templates, and even without one, LaTeX can meet any reasonable thesis formatting requirement.
This guide covers thesis-specific features, common university templates, and strategies for handling complex academic documents.
Thesis Document Structure
Standard Thesis Layout
\documentclass[12pt]{book}
\input{preamble}
\begin{document}
\frontmatter
\maketitle
\include{frontmatter/dedication}
\include{frontmatter/abstract}
\tableofcontents
\listoffigures
\listoftables
\mainmatter
\include{chapters/01-introduction}
\include{chapters/02-literature}
\include{chapters/03-methodology}
\include{chapters/04-results}
\include{chapters/05-discussion}
\include{chapters/06-conclusion}
\appendix
\include{appendices/a-supplementary}
\include{appendices/b-code}
\backmatter
\bibliography{references}
\printindex
\end{document}
University Title Page
\title{Your Thesis Title: Multiple Lines if Needed}
\author{Your Full Name}
\degree{Doctor of Philosophy}
\department{Department of Computer Science}
\university{University Name}
\address{City, State}
\date{2026}
\begin{titlepage}
\begin{center}
\MakeUppercase{\university}\\[1cm]
\MakeUppercase{\department}\\[2cm]
{\Large\bfseries\@title}\\[2cm]
by\\
\@author\\[2cm]
A dissertation submitted in partial fulfillment\\
of the requirements for the degree of\\
\degree\\[1cm]
\date\@date\\[2cm]
\end{center}
\end{titlepage}
Chapter Styles
Chapter Formatting
\usepackage{titlesec}
\titleformat{\chapter}
{\Huge\bfseries}
{\thechapter}
{1em}
{}
\titleformat{\section}
{\Large\bfseries}
{\thesection}
{0.5em}
{}
\titleformat{\subsection}
{\large\bfseries}
{\thesubsection}
{0.5em}
{}
Part Organization
\part{Background and Literature}
\chapter{Introduction}
\chapter{Literature Review}
\part{Research Methodology}
\chapter{Research Design}
\chapter{Data Collection}
\part{Results and Analysis}
\chapter{Results}
\chapter{Analysis}
\part{Conclusion}
\chapter{Conclusions}
\chapter{Future Work}
Front Matter Components
Abstract
\begin{abstract}
Your abstract should be between 150-350 words depending on field.
It summarizes the research problem, methodology, findings, and conclusions.
Keep it concise and informative.
Keywords: keyword1, keyword2, keyword3, keyword4
\end{abstract}
Acknowledgments
\chapter*{Acknowledgments}
I would like to thank my advisor, Professor Name, for guidance
throughout this research. Thanks to my committee members...
Funding acknowledgment if applicable.
Table of Contents Customization
\usepackage{tocbibind}
\tableofcontents
\listoffigures
\listoftables
\listoflistings % If using listings
% Custom TOC entries
\addcontentsline{toc}{chapter}{Bibliography}
\addcontentsline{toc}{chapter}{Index}
Page Numbering
Mixed Numbering Styles
\frontmatter
\pagestyle{roman}
\pagenumbering{roman}
\Roman{page}
\mainmatter
\pagestyle{plain}
\pagenumbering{arabic}
\arabic{page}
% Chapter starts on right
\let\ps@plain\ps@chapter
Suppressing Page Numbers
% No page number on title
\thispagestyle{empty}
% Different style for TOC
\pagestyle{plain}
\thispagestyle{plain}
Floating Elements
Figure Placement in Theses
\begin{figure}[H]
\centering
\includegraphics[width=0.8\linewidth]{figure}
\caption[Short caption]{Full descriptive caption explaining the figure}
\label{fig:label}
\end{figure}
Table Formatting
\begin{table}[htbp]
\centering
\caption{Results Summary}
\label{tab:results}
\begin{tabular}{lccc}
\toprule
Condition & Mean & SD & N \\
\midrule
Treatment & 45.2 & 8.3 & 100 \\
Control & 38.7 & 7.9 & 100 \\
\bottomrule
\end{tabular}
\end{table}
Bibliography in Theses
Multiple Bibliographies
\printbibliography[heading=bibintoc]
\printbibliography[type=article, title={Journal Articles}]
\printbibliography[type=inproceedings, title={Conference Papers}]
\printbibliography[type=book, title={Books}]
Chapter Bibliographies
% Each chapter its own bibliography
\printbibliography[heading=subbibintoc, segment=\therefsegment]
Large Document Management
Include Only Sections
% For faster compilation during editing
\includeonly{
chapters/01-intro,
chapters/02-lit-review
}
Build Management
% In latexmkrc
$pdflatex = 'pdflatex -interaction=nonstopmode %S';
$max_repeat = 5;
Common University Templates
UT Austin Template
%\documentclass[PhD]{utthesis}
% Many universities provide similar templates
Stanford Template
%\documentclass[phd]{stanford-thesis}
Harvard Template
%\documentclass[hnr10,12pt]{harvard-thesis}
Custom Template
When no template exists:
% Custom preamble for thesis
\usepackage{geometry}
\geometry{
top=1in,
bottom=1in,
left=1.5in,
right=1in
}
\usepackage{fancyhdr}
\pagestyle{fancy}
Defense Presentation
Building Defense Slides
\documentclass[aspectratio=169]{beamer}
\usetheme{Madrid}
\usecolortheme{whale}
\title{Thesis Defense Title}
\subtitle{PhD Dissertation Defense}
\author{Your Name}
\institute{University Name}
\date{\today}
\begin{document}
\frame{\titlepage}
\section{Introduction}
\frame{...}
\end{document}
Best Practices
Organization
thesis/
โโโ main.tex
โโโ preamble.tex
โโโ content/
โ โโโ abstract.tex
โ โโโ chapters/
โ โโโ appendices/
โโโ figures/
โโโ tables/
โโโ bibliography/
Version Control
git init thesis
# Track all source, ignore outputs
Writing Tips
- Start with template
- Use \include for chapters
- Compile frequently
- Use version control
Conclusion
LaTeX excels at thesis production, handling complex formatting while maintaining professional typesetting. Most universities accept LaTeX submissions, and those without templates can be accommodated with custom configurations.
Focus on content while the system handles formatting requirements automatically.
Comments