What does it do for a thesis?
In Word you apply the formatting by hand. In LaTeX you write the content and leave the formatting to the template. Chapter, figure, table and equation numbers are assigned for you. Insert a new figure and every later number and every reference in the text is updated. The table of contents, list of figures and reference list each come from one command.
That is why LaTeX is most common in mathematics, physics, engineering and computer science theses. In fields with few equations and a lot of prose, Word does the job as well. Decide by the template your graduate school provides and by how your advisor works.
How to get started
- Check whether your graduate school has a LaTeX template. If it does, do not start from scratch.
- To skip installation, use Overleaf in the browser. To install locally, TeX Live or MiKTeX (Windows) and MacTeX (macOS) are enough.
- Keep each chapter in its own file and pull it into the main file with \include.
- Collect your sources in a .bib file from day one and cite them with \cite.
- Compile often. An error is usually in the last few lines you wrote.
Example: the smallest thesis skeleton
\documentclass[12pt,a4paper]{report}
\usepackage{graphicx}
\begin{document}
\chapter{Introduction}
This study tests the method proposed by
\cite{yilmaz2020} (see Figure~\ref{fig:flow}).
\bibliographystyle{plain}
\bibliography{references}
\end{document}
Common mistakes
- Typing numbers and references by hand. Use \label and \ref. If the output shows “??”, compile once more.
- Broken non-English characters. Save the file as UTF-8. Compiling with XeLaTeX or LuaLaTeX solves most of these problems.
- Changing the template's formatting. Margins, font and line spacing come from the graduate school's guide, so leave the class file alone.