This repository provides a customizable LaTeX template for writing a PhD thesis. It is designed to be clean and pre-configured with a curated set of LaTeX packages to handle typical requirements of a doctoral dissertation.
- Clean title page, abstract, acknowledgments, and declaration pages
- Easily extendable structure: chapters, appendices, bibliography
- Includes commonly needed LaTeX packages
inputenc– UTF-8 encoding supportbabel– Language localization (default: American English)fontenc– Proper font encoding (T1)fancyhdr– Custom headers and footerssetspace– Line spacing adjustmentsxcolor– Support for custom colorstitling,changepage,appendix,enumitem– Document organization and styling
hyperref– Clickable references and PDF metadatanameref– Named references for sections
graphicx– Image inclusionfloat– Enhanced float controlepstopdf– EPS to PDF conversionsubfig– Sub-figures within floats
amsmath,amssymb,amsthm– Math environments and symbolsbm– Bold math symbolsbbold– Blackboard bold math symbols
multirow– Multirow cells in tableslongtable– Multipage tablestabularx– Tables with flexible column widthsbooktabs– High-quality table formatting
listings– Code formatting and syntax highlightingalgorithm,algpseudocode– Algorithm and pseudocode environments
lettrine– Drop capitalsmdframed– Colored or styled boxes (with TikZ backend)url– URL formatting
phd-thesis-template/
├── main.tex # Main thesis file
├── img/ # Images and plots
├── biblio.bib # BibTeX bibliography
├── mnthesis.cls # Custom thesis class
└── LICENSE # GPLv3 license
Clone the repository:
git clone https://github.com/matnar/phd-thesis-latex.git
cd phd-thesis-latex
Compile the thesis:
pdflatex main.tex
bibtex main
pdflatex main.tex
pdflatex main.tex
Start editing the content inside main.tex.
This template is licensed under the GNU General Public License v3.0 (GPLv3). See the LICENSE file for details.
This template has been originally designed for writing my personal PhD thesis.
At the time of writing, a few fully-fledged templates for thesis were available.
Feel free to fork, improve, and submit pull requests. Contributions and suggestions are welcome!