because LaTeX matters

Writing a thesis in latex.

Writing a thesis is a time-intensive endeavor. Fortunately, using LaTeX, you can focus on the content rather than the formatting of your thesis. The following article summarizes the most important aspects of writing a thesis in LaTeX, providing you with a document skeleton (at the end) and lots of additional tips and tricks.

Document class

The first choice in most cases will be the report document class:

See here for a complete list of options. Personally, I use draft a lot. It replaces figures with a box of the size of the figure. It saves you time generating the document. Furthermore, it will highlight justification and hyphenation errors ( Overfull \hbox ).

Check with your college or university. They may have an official or unofficial template/class-file to be used for writing a thesis.

Again, follow the instructions of your institution if there are any. Otherwise, LaTeX provides a few basic command for the creation of a title page.

maketitle

Use \today as \date argument to automatically generate the current date. Leave it empty in case you don’t want the date to be printed. As shown in the example, the author command can be extended to print several lines.

For a more sophisticated title page, the titlespages package has a nice collection of pre-formatted front pages. For different affiliations use the authblk package, see here for some examples.

Contents (toc/lof/lot)

Nothing special here.

The tocloft package offers great flexibility in formatting contents. See here for a selection of possibilities.

Often, the page numbers are changed to roman for this introductory part of the document and only later, for the actual content, arabic page numbering is used. This can be done by placing the following commands before and after the contents commands respectively.

LaTeX provides the abstract environment which will print “Abstract” centered as a title.

abstract

The actual content

The most important and extensive part is the content. I strongly suggest to split up every chapter into an individual file and load them in the main tex-file.

In thesis.tex:

In chapter1.tex:

This way, you can typeset single chapters or parts of the whole thesis only, by commenting out what you want to exclude. Remember, the document can only be generated from the main file (thesis.tex), since the individual chapters are missing a proper LaTeX document structure.

See here for a discussion on whether to use \input or \include .

Bibliography

The most convenient way is to use a bib-tex file that contains all your references. You can download bibtex items for articles, books, etc. from Google scholar or often directly from the journal websites.

Two packages are commonly used to personalize bibliographies, the newer biblatex and the natbib package, which has been around for many years. These packages offer great flexibility in customizing the look of a bibliography, depending on the preference in the field or the author.

Other commonly used packages

  • graphicx : Indispensable when working with figures/graphs.
  • subfig : Controlling arrangement of several figures (e.g. 2×2 matrix)
  • minitoc : Adds mini table of contents to every chapter
  • nomencl : Generate and format a nomenclature
  • listings : Source code printer for LaTeX
  • babel : Multilingual package for standard document classes
  • fancyhdr : Controlling header and footer
  • hyperref : Hypertext links for LaTeX
  • And many more

Minimal example code

I’m aware that this short post on writing a thesis only covers the very basics of a vast topic. However, it will help you getting started and focussing on the content of your thesis rather than the formatting of the document.

Share this:

16 comments.

' src=

8. June 2012 at 7:09

I would rather recommend a documentclass like memoir or scrreprt (from KOMA-Script), since they are much more flexible than report.

' src=

8. June 2012 at 8:12

I agree, my experience with them is limited though. Thanks for the addendum. Here is the documentation: memoir , scrreprt (KOMA script)

' src=

8. June 2012 at 8:02

Nice post Tom. I’m actually writing a two-part (or three) on Writing the PhD thesis: the tools . Feel free to comment, I hope to update it as I write my thesis, so any suggestions are welcome.

8. June 2012 at 8:05

Thanks for the link. I just saw your post and thought I should really check out git sometimes :-). Best, Tom.

8. June 2012 at 8:10

Yes, git is awesome. It can be a bit overwhelming with all the options and commands, but if you’re just working alone, and probably on several machines, then you can do everything effortlessly with few commands.

11. June 2012 at 2:15

That’s what has kept me so far. But I’ll definitely give it a try. Thanks!

' src=

8. June 2012 at 8:08

What a great overview. Thank you, this will come handy… when I finally get myself to start writing that thesis 🙂

8. June 2012 at 14:12

Thanks and good luck with your thesis! Tom.

' src=

9. June 2012 at 4:08

Hi, I can recommend two important packages: lineno.sty to insert linenumbers (really helpful in the debugging phase) and todonotes (allows you to insert todo-notes for things you still have to do.)

11. June 2012 at 0:48

Thanks Uwe! I wrote an article on both, lineno and todonotes . Here is the documentation: lineno and todonotes for more details.

' src=

12. June 2012 at 15:51

Thanks for the post, i’m currently writing my master thesis 🙂

A small note: it seems that subfig is deprecated for the subcaption package: https://en.wikibooks.org/wiki/LaTeX/Floats,_Figures_and_Captions#Subfloats

12. June 2012 at 16:05

Hey, thanks for the tip. Too bad they don’t say anything in the documentation apart from the fact that the packages are not compatible.

' src=

1. August 2012 at 21:11

good thesis template can be also found here (free): http://enjobs.org/index.php/downloads2

including living headers, empty pages, two-sided with front and main matter as well as a complete structure

2. August 2012 at 11:03

Thanks for the link to the thesis template!

' src=

15. November 2012 at 22:21

Hi Tom, I’m writing a report on spanish in LaTex, using emacs, auctex, aspell (~170pags. ~70 files included by now) and this blog is my savior every time because I’m quite new with all these.

The question: Is there anyway (other than \- in every occurrence) to define the correct hyphenation for accented words (non english characters like é)? I have three o four accented words, about the subject of my report, that occur near 100 times each, across several files, and the \hyphenation{} command can’t handle these.

20. November 2012 at 3:47

I was wondering what packages you load in your preamble. For a better hyphenation (and easier typing), you should use these packages:

See here for more details.

If this doesn’t help, please provide a minimal working example to illustrate the problem.

Thanks, Tom.

Leave a Reply Cancel reply

Carnegie Mellon University Libraries

Overleaf for Scholarly Writing & Publication: LaTeX Theses and Dissertations

  • Reference Managers and Overleaf
  • Adding Graphs, Tables, and Images
  • Using Templates on Overleaf
  • LaTeX Theses and Dissertations

LaTeX Theses and Dissertatons

Tips and tools for writing your LaTeX thesis or dissertation in  Overleaf, including templates, managing references , and getting started guides.

Managing References

BibTeX  is a file format used for lists of references for  LaTeX  documents. Many citation management tools support the ability to export and import lists of references in .bib format. Some reference management tools can generate  BibTeX  files of your library or folders for use in your  LaTeX  documents.

LaTeX on Wikibooks   has a  Bibliography Management  page.

Find list of BibTeX styles available on Overleaf   here

View a video tutorial on how to include a bibliography using BibTeX  here

Collaborate with Overleaf

Collaboration tools

Every project you create has a secret link. Just send it to your co-authors, and they can review, comment and edit. Overleaf synchronizes changes from all authors, so everyone always has the latest version. More advanced tools include protected projects and integration with Git.

Collaborate online and offline with Overleaf and Git

Protected projects with Overleaf Pro

Getting Started with Your Thesis or Dissertation

How to get started writing your thesis in LaTeX

Writing a thesis or dissertation in LaTeX can be challenging, but the end result is well worth it - nothing looks as good as a LaTeX-produced pdf, and for large documents it's a lot easier than fighting with formatting and cross-referencing in MS Word. Review this video from Overleaf to help you get started writing your thesis in LaTeX, using a standard thesis template from the  Overleaf Gallery .

You can  upload your own thesis template to the Overleaf Gallery   if your university provides a set of LaTeX template files or you may find your university's thesis template already in the Overleaf Gallery.

This video assumes you've used LaTeX before and are familiar with the standard commands (see our other  tutorial videos   if not), and focuses on how to work with a large project split over multiple files.

How to Write your Thesis/Dissertation in LaTeX: A Five-Part Guide

Five-Part LaTeX Thesis/Dissertation  Writing Guide

Part 1: Basic Structure   corresponding  video

Part 2: Page Layout   corresponding  video

Part 3: Figures, Subfigures and Tables   corresponding  video

Part 4: Bibliographies with Biblatex  corresponding  video

Part 5: Customizing Your Title Page and Abstract   corresponding  video

Link Your ORCID

Link yo ur  ORCiD  account  to your  Overleaf account  via the  ORCID @ CMU Portal

Open Knowledge Librarian

Profile Photo

  • << Previous: Using Templates on Overleaf
  • Last Updated: Oct 4, 2023 9:31 AM
  • URL: https://guides.library.cmu.edu/overleaf

utl home

Research Guides

Submit and publish your thesis.

  • The Graduate Thesis: What is it?
  • Thesis Defences
  • Deadlines and Fees
  • Formatting in MS Word

Formatting in LaTeX

  • Making Thesis Accessible
  • Thesis Embargo
  • Review and Release
  • Your Rights as an Author
  • Re-using Third Party Materials
  • Creative Commons Licenses for Theses
  • Turning Thesis into an Article
  • Turning Thesis into a Book
  • Other Venues of Publication

For formatting instructions and requirements see the Formatting section of the School of Graduate Studies website. The thesis style template for LaTeX ( ut-thesis ) implements these requirements. You are not required to use the template, but using it will make most of the formatting requirements easier to meet.

►► Thesis template for LaTeX .

Below are some general formatting tips for drafting your thesis in LaTeX.  In addition, there are other supports available:

  • Regular LaTeX workshops are offered via the library, watch the library workshop calendar at https://libcal.library.utoronto.ca/
  • With questions about LaTeX formatting, contact Map and Data Library (MDL) using this form
  • There are also great resources for learning LaTeX available via Overleaf

Many common problems have been solved on the TeX - LaTeX Stack Exchange Q & A Forum

LaTeX Template

To use the LaTeX and ut-thesis , you need two things: a LaTeX distribution (compiles your code), and an editor (where you write your code). Two main approaches are:

  • Overleaf : is a web-based platform that combines a distribution (TeX Live) and an editor. It is beginner-friendly (minimal set-up) and some people prefer a cloud-based platform. However, manually uploading graphics and managing a bibliographic database can be tedious, especially for large projects like a thesis.
  • A LaTeX distribution can be installed as described here . ut-thesis can then be installed either: a) initially, with the distribution; b) automatically when you try to compile a document using \usepackage{ut-thesis} ; or manually via graphical or terminal-based package manager for the distribution.
  • The LaTeX distribution allows you to compile code, but provides no tools for writing (e.g. syntax highlighting, hotkeys, command completion, etc.). There are many editor options that provide these features. TeXstudio is one popular option.

Occasionally, the version of ut-thesis on GitHub  may be more up-to-date than the popular distributions (especially yearly TeX Live), including small bug fixes. To use the GitHub version, you can download the file ut-thesis.cls (and maybe the documentation ut-thesis .pdf ) and place it in your working directory. This will take priority over any other versions of ut-thesis on your system while in this directory.

LaTeX Formatting Tips

Here are a few tips & tricks for formatting your thesis in LateX.

Document Structure

Using the ut-thesis document class, a minimal example thesis might look like:

\documentclass{ut-thesis} \author {Your Name} \title {Thesis Title} \degree {Doctor of Philosophy} \department {LaTeX} \gradyear {2020} \begin {document}   \frontmatter   \maketitle   \begin {abstract}     % abstract goes here   \end {abstract}   \tableofcontents   \mainmatter   % main chapters go here   % references go here   \appendix   % appendices go here \end {document}

►►  A larger example is available on GitHub here .

You may want to consider splitting your code into multiple files. The contents of each file can then be added using \input{filename} .

The usual commands for document hierarchy are available like \chapter , \section , \subsection , \subsubsection , and \paragraph . To control which appear in the \tableofcontents , you can use \setcounter{tocdepth}{i} , where i = 2 includes up to \subsection , etc. For unnumbered sections, use \section* , etc. No component should be empty, such as \section{...} immediately followed by \subsection{...} .

Note: In the examples below, we denote the preamble vs body like:

preamble code --- body code

Tables & Figures

In LaTeX, tables and figures are environments called “floats”, and they usually don’t appear exactly where you have them in the code. This is to avoid awkward whitespace. Float environments are used like \begin{env} ... \end{env} , where the entire content ... will move with the float. If you really need a float to appear exactly “here”, you can use:

\usepackage{float} --- \begin{ figure}[H] ... \end {figure}

Most other environments (like equation) do not float.

A LaTeX table as a numbered float is distinct from tabular data. So, a typical table might look like:

\usepackage{booktabs} --- \begin {table}   \centering   \caption {The table caption}   \begin {tabular}{crll}     i &   Name & A &  B \\     1 &  First & 1 &  2 \\     2 & Second & 3 &  5 \\     3 &  Third & 8 & 13   \end {tabular} \end {table}

The & separates cells and \\ makes a new row. The {crll} specifies four columns: 1 centred, 1 right-aligned, and 2 left-aligned.

Fancy Tables

Some helpful packages for creating more advanced tabular data:

  • booktabs : provides the commands \toprule , \midrile , and \bottomrule , which add horizontal lines of slightly different weights.
  • multicol : provides the command \multicolumn{2}{r}{...} to “merge” 2 cells horizontally with the content ... , centred.
  • multirow : provides the command \multirow{2}{*}{...} , to “merge” 2 cells vertically with the content ... , having width computed automatically (*).

A LaTeX figure is similarly distinct from graphical content. To include graphics, it’s best to use the command \includegraphics from the graphicx package. Then, a typical figure might look like:

\usepackage{graphicx} --- \begin {figure}   \centering   \includegraphics[width=.6 \textwidth ]{figurename} \end {figure}

Here we use .6\textwidth to make the graphic 60% the width of the main text.

By default, graphicx will look for figurename in the same folder as main.tex ; if you need to add other folders, you can use \graphicspath{{folder1/}{folder2/}...} .

The preferred package for subfigures is subcaption ; you can use it like:

\usepackage{subcaption} --- \begin {figure} % or table, then subtable below   \begin {subfigure}{0.5 \textwidth }     \includegraphics[width= \textwidth ]{figureA}     \caption {First subcaption}   \end {subfigure}   \begin {subfigure}{0.5 \textwidth }     \includegraphics[width= \textwidth ]{figureB}     \caption {Second subcaption}   \end {subfigure}   \caption {Overall figure caption} \end {figure}

This makes two subfigures each 50% of the text width, with respective subcaptions, plus an overall figure caption.

Math can be added inline with body text like $E = m c^2$ , or as a standalone equation like:

\begin {equation}   E = m c^2 \end {equation}

A complete guide to math is beyond our scope here; again, Overleaf provides a great set of resources to get started.

Cross References

We recommend using the hyperref package to make clickable links within your thesis, such as the table of contents, and references to equations, tables, figures, and other sections.

A cross-reference label can be added to a section or float environment using \label{key} , and referenced elsewhere using \ref{key} . The key will not appear in the final document (unless there is an error), so we recommend a naming convention like fig:diagram , tab:summary , or intro:back for \section{Background} within \chapter{Intro} , for example. We also recommend using a non-breaking space ~ like Figure~\ref{fig:diagram} , so that a linebreak will not separate “Figure” and the number.

You may need to compile multiple times to resolve cross-references (and citations). However, this occurs by default as needed in most editors.

The LaTeX package tikz provides excellent tools for drawing diagrams and even plotting basic math functions. Here is one small example:

\usepackage{tikz} --- \begin {tikzpicture}   \node [red,circle]  (a) at (0,0) {A};   \node [blue,square] (b) at (1,0) {B};   \draw [dotted,->]   (a) -- node[above]{ $ \alpha $ } (b); \end {tikzpicture}

Don’t forget semicolons after every command, or else you will get stuck while compiling.

There are several options for managing references in LaTeX. We recommend the most modern package: biblatex , with the biber backend.  A helpful overview is given here .

Assuming you have a file called references.bib that looks like:

@article{Lastname2020,   title = {The article title},   author = {Lastname, First and Last2, First2 and Last3 and First3},   journal = {Journal Name},   year = {2020},   vol = {99},   no = {1} } ...

then you can cite the reference Lastname2020 using biblatex like:

\usepackage[backend=biber]{biblatex} \addbibresource {references.bib} --- \cite {Lastname2020} ... \printbibliography

Depending on what editor you’re using to compile, this may work straight away. If not, you may need to update your compiling command to:

pdflatex main && biber main && pdflatex main && pdflatex main

Assuming your document is called main.tex . This is because biber is a separate tool from pdflatex . So in the command above, we first identify the cited sources using pdflatex , then collect the reference information using biber , then finish compiling the document using pdflatex , and then we compile once more in case anything got missed.

There are many options when loading biblatex to configure the reference formatting; it’s best to search the CTAN documentation for what you want to do.

Windows users may find that biber.exe or bibtex.exe get silently blocked by some antivirus software. Usually, an exception can be added within the antivirus software to allow these programs to run.

  • << Previous: Formatting in MS Word
  • Next: Making Thesis Accessible >>
  • Last Updated: Oct 10, 2024 5:26 PM
  • URL: https://guides.library.utoronto.ca/thesis

Library links

  • Library Home
  • Renew items and pay fines
  • Library hours
  • Engineering
  • UT Mississauga Library
  • UT Scarborough Library
  • Information Commons
  • All libraries

University of Toronto Libraries 130 St. George St.,Toronto, ON, M5S 1A5 [email protected] 416-978-8450 Map About web accessibility . Tell us about a web accessibility problem . About online privacy and data collection .

© University of Toronto . All rights reserved. Terms and conditions.

Connect with us

Using the Library

  • Teaching & publication support
  • Ask a Librarian

Overleaf for LaTeX Theses & Dissertations: Home

  • Using Templates on Overleaf
  • Reference Managers and Overleaf
  • Adding Graphs, Tables & Images

Dissertations and Theses

Tips and tools for writing your LaTeX thesis or dissertation in Overleaf, including templates, managing references , and getting started guides.

Getting started with your thesis or dissertation

How to get started writing your thesis in LaTeX

Writing a thesis or dissertation in LaTeX can be challenging, but the end result is well worth it - nothing looks as good as a LaTeX-produced pdf, and for large documents it's a lot easier than fighting with formatting and cross-referencing in MS Word. Review this video from Overleaf to help you get started writing your thesis in LaTeX, using a standard thesis template from the Overleaf Gallery .

You can upload your own thesis template to the Overleaf Gallery if your university provides a set of LaTeX template files or you may find your university's thesis template already in the Overleaf Gallery.

This video assumes you've used LaTeX before and are familiar with the standard commands (see our other tutorial videos  if not), and focuses on how to work with a large project split over multiple files.

5-part Guide on How to Write a Thesis in LaTeX

5-part LaTeX Thesis Writing Guide

Part 1: Basic Structure corresponding  video

Part 2: Page Layout corresponding  video

Part 3: Figures, Subfigures and Tables   corresponding video

Part 4: Bibliographies with Biblatex corresponding video

Part 5: Customizing Your Title Page and Abstract corresponding video

Managing References

BibTeX is a file format used for lists of references for LaTeX documents. Many citation management tools support the ability to export and import lists of references in .bib format. Some reference management tools can generate BibTeX files of your library or folders for use in your LaTeX documents.

LaTeX on Wikibooks has a Bibliography Management page.

Find list of BibTeX styles available on Overleaf here

View a video tutorial on how to include a bibliography using BibTeX  here

Collaborate with Overleaf

Collaboration tools

Every project you create has a secret link. Just send it to your co-authors, and they can review, comment and edit. Overleaf synchronizes changes from all authors, so everyone always has the latest version. More advanced tools include protected projects and integration with Git.

Collaborate online and offline with Overleaf and Git

Protected projects with Overleaf Pro

Link your ORCiD ID

Link your ORCiD account to your Overleaf account.

Add Institutional Library contact info here.

Contact Overleaf   or email [email protected]

See Overleaf news   on  our blog.

ShareLaTeX Joins Overleaf!

Read more about Overleaf and ShareLaTeX joining forces here

  • Next: Using Templates on Overleaf >>
  • Last Updated: Oct 1, 2024 2:02 PM
  • URL: https://guides.lib.virginia.edu/overleaf-dissertations
  • 434-924-3021
  • [email protected]
  • UVA Shannon Library P.O. Box 400113 160 McCormick Road Charlottesville, VA 22904

About the Library

  • Staff Directory
  • Fellowships
  • Library Use Policies
  • Off-Grounds Access
  • ITS Computing Accounts
  • Accessibility Services
  • Emergency Information
  • UVA Privacy Policy
  • Tracking Opt-out

Other Sites

  • Cavalier Advantage
  • Library Staff Site

how to write your thesis in latex

Banner

Overleaf for LaTeX Theses & Dissertations: Using Templates on Overleaf

  • Using Templates on Overleaf
  • Reference Managers and Overleaf
  • Adding Tables, Images, and Graphs

Start your projects with quality LaTeX templates for journals, theses, dissertations, CVs, resumes, papers, presentations, posters, assignments, letters, project reports, and more.

Getting started

Start with Overleaf templates

Overleaf templates make it easy to get started with all types of projects - from papers and presentations to newsletters, CVs, and much more! It's also a great way to learn LaTeX and produce professional looking projects quickly.

Follow Us for More

New templates are added all the time. Follow us on Twitter for the highlights!

Find templates on Overleaf

Visit our thesis template gallery

how to write your thesis in latex

Make your own templates on Overleaf

Upload or create templates for assignments, presentations, theses, posters, and student/faculty journals for your institution. Just create it as a project on Overleaf and use the publish menu.

how to write your thesis in latex

Begin Your Work Using the Official 'University' Thesis Template on Overleaf

(If your University has an official thesis template published on Overleaf, you can customize this box accordingly with a link to the template)

Write your thesis using the official ' Name of University goes here ' thesis template

Find your University's template on Overleaf here ( insert link to official LaTeX thesis template on Overleaf Gallery or custom Overleaf institutional portal template page ).

  • << Previous: Home
  • Next: Reference Managers and Overleaf >>
  • Last Updated: Aug 20, 2024 5:29 PM
  • URL: https://overleaf.libguides.com/Thesis

No Search Results

How to get started writing your thesis in LaTeX

Writing a thesis or dissertation in LaTeX can be challenging, but the end result is well worth it—nothing looks as good as a LaTeX-produced PDF, and for large documents it's a lot easier than fighting with formatting and cross-referencing in MS Word. Here we provide a guide to getting started on writing your thesis in LaTeX, using a standard template which is pre-loaded into Overleaf.

We have a large number of thesis templates in our online library , and you can upload your own if your university provides a set of LaTeX template files.

We'll assume you've used LaTeX before and so are familiar with the standard commands (see our other tutorial videos if not), and focus on how to work with a large project split over multiple files.

  • Documentation Home
  • Learn LaTeX in 30 minutes

Overleaf guides

  • Creating a document in Overleaf
  • Uploading a project
  • Copying a project
  • Creating a project from a template
  • Using the Overleaf project menu
  • Including images in Overleaf
  • Exporting your work from Overleaf
  • Working offline in Overleaf
  • Using Track Changes in Overleaf
  • Using bibliographies in Overleaf
  • Sharing your work with others
  • Using the History feature
  • Debugging Compilation timeout errors
  • How-to guides
  • Guide to Overleaf’s premium features

LaTeX Basics

  • Creating your first LaTeX document
  • Choosing a LaTeX Compiler
  • Paragraphs and new lines
  • Bold, italics and underlining

Mathematics

  • Mathematical expressions
  • Subscripts and superscripts
  • Brackets and Parentheses
  • Fractions and Binomials
  • Aligning equations
  • Spacing in math mode
  • Integrals, sums and limits
  • Display style in math mode
  • List of Greek letters and math symbols
  • Mathematical fonts
  • Using the Symbol Palette in Overleaf

Figures and tables

  • Inserting Images
  • Positioning Images and Tables
  • Lists of Tables and Figures
  • Drawing Diagrams Directly in LaTeX
  • TikZ package

References and Citations

  • Bibliography management with bibtex
  • Bibliography management with natbib
  • Bibliography management with biblatex
  • Bibtex bibliography styles
  • Natbib bibliography styles
  • Natbib citation styles
  • Biblatex bibliography styles
  • Biblatex citation styles
  • Multilingual typesetting on Overleaf using polyglossia and fontspec
  • Multilingual typesetting on Overleaf using babel and fontspec
  • International language support
  • Quotations and quotation marks

Document structure

  • Sections and chapters
  • Table of contents
  • Cross referencing sections, equations and floats
  • Nomenclatures
  • Management in a large project
  • Multi-file LaTeX projects
  • Lengths in L a T e X
  • Headers and footers
  • Page numbering
  • Paragraph formatting
  • Line breaks and blank spaces
  • Text alignment
  • Page size and margins
  • Single sided and double sided documents
  • Multiple columns
  • Code listing
  • Code Highlighting with minted
  • Using colours in LaTeX
  • Margin notes
  • Font sizes, families, and styles
  • Font typefaces
  • Supporting modern fonts with X Ǝ L a T e X

Presentations

  • Environments

Field specific

  • Theorems and proofs
  • Chemistry formulae
  • Feynman diagrams
  • Molecular orbital diagrams
  • Chess notation
  • Knitting patterns
  • CircuiTikz package
  • Pgfplots package
  • Typesetting exams in LaTeX
  • Attribute Value Matrices

Class files

  • Understanding packages and class files
  • List of packages and class files
  • Writing your own package
  • Writing your own class

Advanced TeX/LaTeX

  • In-depth technical articles on TeX/LaTeX

Buďte v kontaktu

Have you checked our knowledge base ?

Message sent! Our team will review it and reply by email.

Email: 

Basic thesis template

This Thesis LaTeX template is an ideal starting point for writing your PhD thesis, masters dissertation or final year project. The style is appropriate for most universities, and can be easily customised. This LaTeX template includes a title page, a declaration, an abstract, acknowledgements, table of contents, list of figures/tables, a dedication, and example chapters and sections.

This template was originally published on ShareLaTeX and subsequently moved to Overleaf in November 2019.

Basic thesis template

Get in touch

Have you checked our knowledge base ?

Message sent! Our team will review it and reply by email.

Email: 

Stack Exchange Network

Stack Exchange network consists of 183 Q&A communities including Stack Overflow , the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Q&A for work

Connect and share knowledge within a single location that is structured and easy to search.

LaTeX templates for writing a thesis

Aside from CTAN, what are good resources/repositories for Latex templates? In particular, I'm looking for some pretty Thesis templates (I'm familiar with classicthesis)

  • repositories
  • Should this be for thesis templates, or for templates in general? So far, your answers have all been thesis templates. I'm looking for other templates. Please either edit the question to read "Resources/Sites for thesis templates", or clarify that you want general templates. (Or, simply delete your parenthetical note.) –  Kevin Vermeer Commented Jul 29, 2010 at 19:51
  • I think 'templates in general' might be too broad. As it is, 'thesis templates' is quite a wide topic. –  Joseph Wright ♦ Commented Jul 30, 2010 at 5:43

17 Answers 17

In my case, I actually found it easiest to roll my own using the memoir package as a base. It's very well documented, and setting the appropriate margins, double/one-half line spacing, etc. was very easy. And it makes it easy to play around a bit within the thesis guidelines, for instance making fancy chapter headings.

  • 1 Although it uses the book class, Siarhei Khirevich's tips might be inspiring to customize headers, chose a font, parametrize microtype, hacking bibtex, etc. –  Clément Commented Jun 12, 2014 at 16:33

Robert Poser has created a site dedicated to thesis templates:

http://www.thesis-template.com/

The link is currently dead, but that web site can still be read using archive.org (the Internet wayback machine) choosing a snapshot date such as February 8, 2014 . The thesis template site mostly just links to available external sites with templates.

It provides links to ready-to-go thesis templates of various universities worldwide. There's even a google map for viewing the templates origins on the world map.

Besides LaTeX templates there are also LyX thesis templates.

UK-TUG have a list of thesis templates from various UK institutions at http://uk.tug.org/training/thesis/ . There is also a good generic template at http://www.sunilpatel.co.uk/thesistemplate.php , but I'm note sure any of these are 'pretty'. At least in the UK the requirements tend to be vary much geared around a traditional manuscript style (double spaced and so on).

Joseph Wright's user avatar

  • Note (Jan 2014): many of the links from the above age are dead now. –  Chris H Commented Jan 6, 2014 at 11:44
  • @ChrisH I will see what I can do about that: we don't unfortunately get much direct information on this so have to rely on what we find! –  Joseph Wright ♦ Commented Jan 6, 2014 at 12:08
  • The link to "Using LaTeX to Write a PhD Thesis" is now dickimaw-books.com/latex/thesis (sys.uea.ac.uk was changed to cmp.uea.ac.uk many years ago, if anyone finds any old links to it, although I've moved most of my LaTeX resources from cmp.uea.ac.uk to dickimaw-books.com.) –  Nicola Talbot Commented Jun 12, 2014 at 16:31

I'm currently writing a (bachelor) thesis myself and just using the LaTeX's own "report" class, I find it meets all of my universities requirements when I only use a custom title page.

  • 3 I used scrreprt and I didn't even have to modify the title page. –  marczellm Commented Jan 6, 2015 at 15:28

For the spanish speaking community, I maintain a thesis format which can be easily adapted to the requirements of different universities. The format itself can be used to write thesis documents in any language, but it has a spanish option which takes care of loading a suitable set of packages and options to get the entire format consistently translated into spanish.

Juan A. Navarro's user avatar

There is an unofficial class sapthesis for the Laurea, Laurea Specialistica and Dottorato degrees at the La Sapienza university of Rome.

Chances are, your institution will have pretty strict specifications for your thesis format. If you're lucky your institution may have a class file or some grad students may maintain a unofficial template.

Purdue University (a state school in Indiana, USA) has a document class that may be a good starting point.

https://engineering.purdue.edu/~mark/puthesis/

An additional complication at Purdue is that each department has additional constraints on the formatting so the document class takes an option to specify the department.

  • 5 “ Chances are, your institution will have pretty strict specifications” – is this actually common? My University has absolutely zero specs. I’m the author, I decide the format. –  Konrad Rudolph Commented Aug 5, 2010 at 9:34
  • 8 In U.S. institutions it's the absolute norm, not the exception. And the formatting guidelines are usually awful as well. –  Alan Munn Commented Jan 10, 2011 at 1:09
  • 6 @Konrad: When Alan says "awful," he really means awful . They're atrocious. –  TH. Commented Jan 10, 2011 at 1:57
  • 1 In German institutions it's the absolute exception, not the norm. Only things like the exact words to be used for the declaration about having written the thesis oneself, marked quotations, named all sources and so on as well as some rules about the title page, inclusion of CV and such things are regulated. –  Stephen Commented Sep 26, 2011 at 7:11

There seems to be a nice compilation of thesis templates on this site:

https://www.sharelatex.com/templates/thesis/

These templates include many already mentioned here.

A really great place for LaTeX templates is:

http://www.latextemplates.com

This website is beautifully laid out and the templates are sorted into categories that make it easy to find the template that is best suited to your purposes. All of the templates have PDF examples and full template code.

I am not affiliated with this website in any way but have used it many times.

I use tex live utility on the mac to maintain my tex distribution. Specifically I use the ctan repository. On searching for thesis templates, I got style (cls) files for the following thesis formats. More information can be found on their respective ctan pages.

afthesis, classicthesis, ebsthesis, gatech-thesis, hepthesis, muthesis, psu-thesis, ryethesis, seuthesis, thuthesis, ucdavisthesis, ucthesis, uiucthesis, umich-thesis, umthesis, ut-thesis, uwthesis, york-thesis

My suggestion would be to see which one of these is closest to your university's requirements and then build on that. To search for each of the above theses files, use the following link format: http://www.ctan.org/cgi-bin/filenameSearch.py?filename=afthesis&Search=Search and replace the name appropriately and on the page visit the readme page for more details.

Unofficial (but linked from the Graduate School webpages) thesis template for Tennessee Tech University .

At the moment, the development snapshot is more advanced (automatic generation of front matter pages, ToC and related list page headers), and is nearly ready to be merged back to the stable version. Only 13 commands required for generating a basic thesis (plus any \include commands for your chapters and appendices).

Based off memoir, with hyperref, hypcap, ifthen, indentfirst, listings, memhfixc, nomencl, refcount, rotating, and ted packages required.

I just redid the uclathesis class, and in the process collected (iirc without checking) about a dozen thesis classes from various schools in the US and Europe to look at how others did this or that. In the end I used memoir, and it was pretty simple and straightforward, all in all. The part that took the longest (a day?) was the construction of the frontmatter pages (titlepage, signature page, copyright, vita, dedication, acknowledgements, abstract) which all had to have a special format.

I could email you any or all of these, and, even tho I'm probably not in the same class as many of the latex coders here, I'd be happy to advise you if you need it, since this is an exercise that I just finished.

Illinois Institute of Technology has their thesis class at available from the Graduate College website . A lot of the commands are somewhat nonstandard (for example capitalized \Section commands), so I've been redoing the class file as I work on my thesis. I'll post the result somewhere when the thesis examiner likes it.

The Université de Lorraine (in France), and more specifically the LORIA lab, developped a template that can be easily adapted.

You may find it at http://www.loria.fr/~roegel/TeX/TUL.html , but this page as well as the documentation is in French.

8< = = = = = = = = = = =

Another template was developped by the "association des doctorants de l'IRISA et de l'École doctorale Matisse en informatique, traitement du signal et électronique", a french team.

You may find it at http://www.irisa.fr/adoc/WikiWeb/pmwiki.php?n=Main.ModeleLatex

http://github.com/AndreyAkinshin/Russian-Phd-LaTeX-Dissertation-Template

Russian PhD thesis (Candidate of Sciences dissertation) template compatible with national standard (GOST).

NOVAthesis is an active and full featured LaTeX thesis template, designed to be easily accessible to LaTeX beginners. It will do all you need except writing the thesis for you!

The template is multilingual and easily costumizable. It has considerable large user communities at Facebook (use PT or EN) and GitHub (use EN only). There is also a new blog (in PT) about LaTeX and with tips on how to use and configure the novathesis template.

Give it a try… you won't regret! :)

  • The NOVAthesis template is now an official template at Overleaf , making it trivial to experiment with it. –  João Lourenço Commented Feb 27, 2019 at 3:01

I really like and highly recommend the LaTeX Thesis Template from Matthias Pospiech. It's so huge, it's actually more like a framework, comes with it's own 272 page documentation and is constantly being revised with it's current version from 2018-09-20, compilable with the current TeXlive 2018.

target users This template was developed with all sorts of structured documents in mind that require a good citation and reference framework with a customizable layout. It has so far been used for bachelor, master and phd-thesis as well as the thesis of teachers in their practical year. These theses had all a natural science background, which means that also this template is optimized for the needs of people in natural sciences. Nevertheless it should be easily adaptable to topics in humanities, linguistics or even arts. This template has been used under the supervision of the maintainer by very early beginners and also advanced LaTeX users. The experience was that beginners as well as advanced users are more productive with it because ‘it just works’, while the more advanced users additionally know that they can find all options for later modifications because of the documentation in the code.

You must log in to answer this question.

Not the answer you're looking for browse other questions tagged templates big-list thesis resources repositories ..

  • The Overflow Blog
  • Brain Drain: David vs Goliath
  • How API security is evolving for the GenAI era
  • Featured on Meta
  • Preventing unauthorized automated access to the network
  • Upcoming initiatives on Stack Overflow and across the Stack Exchange network...

Hot Network Questions

  • Does every non-trivial path in the plane pass through either a rational point or an irrational point?
  • A bunch of grammas
  • Garage door opener remotes do not work when light is on
  • Was there a different 64-bit design for x86 from Intel?
  • Perfect сubes duos in a line
  • How do you respond to students complaining that practice questions are both insufficient and too easy?
  • How to invert a particular submatrix?
  • I rely too much on counting beats, how can I improve?
  • Why don't x-ray machines at airports cause single event effect damage in electronics?
  • Jagged results from using NDSolve
  • Is there a way to check what the cost of a complex day's travel in London will be?
  • Does -iller have an implied meaning in French verbs?
  • Cessna 172 - electrical system - checklist confusion
  • Who can perform preventive maintenance? Only owner or owner/operator?
  • What's the meaning of Paul's vision of Leto I alongside a skull?
  • Encryption Master Key (KMS) vs Distributed Multiple Encryption Keys (KMS)
  • What size outdoor breaker box do I need?
  • How can these regular polygons be arranged within a page
  • is it legal to say "the University welcomes applications from all individuals who self-declare as a woman" in job post?
  • What if You Are an Individual Contributor but Your Manager Asks You to Manage Whole Projects?
  • How to put poem titles in header?
  • Statistical test for count values
  • Can a knight capture all 16 pawns in 16 consecutive moves?
  • Japanese businesses checking for landing sticker

how to write your thesis in latex

IMAGES

  1. How to write a thesis using LaTeX **full tutorial**

    how to write your thesis in latex

  2. How to Write a Thesis in LaTeX (Part 1): Basic Structure

    how to write your thesis in latex

  3. How to Write a Thesis in LaTeX (Part 1): Basic Structure

    how to write your thesis in latex

  4. Write your graduation thesis in LaTeX!

    how to write your thesis in latex

  5. How to Write a Thesis in LaTeX pt 3

    how to write your thesis in latex

  6. How to write your thesis in a short time with Latex ازاي تكتب رسالتك

    how to write your thesis in latex

VIDEO

  1. How to write thesis in LaTeX P1

  2. Thesis/Project Proposal Template (Latex)

  3. Write a summary in LaTeX

  4. BE, ME, Mtech, PhD Thesis report writing in latex #viral #trending #viralvideos #trendingvideos

  5. writing thesis with Emacs+AucTex

  6. Introduction for writing a Thesis documents using LaTeX *Full Tutorial*

COMMENTS

  1. How to Write a Thesis in LaTeX (Part 1): Basic Structure

    The preamble. In this example, the main.tex file is the root document and is the .tex file that will draw the whole document together. The first thing we need to choose is a document class. The article class isn't designed for writing long documents (such as a thesis) so we'll choose the report class, but we could also choose the book class.. We can also change the font size by adding square ...

  2. How to get started writing your thesis in LaTeX

    Writing a thesis or dissertation in LaTeX can be challenging, but the end result is well worth it—nothing looks as good as a LaTeX-produced PDF, and for large documents it's a lot easier than fighting with formatting and cross-referencing in MS Word. Here we provide a guide to getting started on writing your thesis in LaTeX, using a standard ...

  3. How to write a thesis using LaTeX **full tutorial**

    Get started with LaTeX using Overleaf: https://www.overleaf.com/?utm_source=yt&utm_medium=link&utm_campaign=im22tb. My thanks to Overleaf for sponsoring t...

  4. How to Write a Thesis in LaTeX (Part 5): Customising Your ...

    In the previous post we looked at adding a bibliography to our thesis using the biblatex package.In this, the final post of the series, we're going to look at customising some of the opening pages. In the first video we made a rather makeshift title page using the \maketitle command and by using an \includegraphics command in the \title command. Although this works, it doesn't give us as much ...

  5. Writing a thesis in LaTeX

    The following article summarizes the most important aspects of writing a thesis in LaTeX, providing you with a document skeleton (at the end) and lots of additional tips and tricks. Document class. The first choice in most cases will be the report document class: 1. \documentclass[options]{report} See here for a complete list of options.

  6. LaTeX Theses and Dissertations

    Writing a thesis or dissertation in LaTeX can be challenging, but the end result is well worth it - nothing looks as good as a LaTeX-produced pdf, and for large documents it's a lot easier than fighting with formatting and cross-referencing in MS Word. Review this video from Overleaf to help you get started writing your thesis in LaTeX, using a ...

  7. LibGuides: Overleaf for LaTeX Theses & Dissertations: Home

    Writing a thesis or dissertation in LaTeX can be challenging, but the end result is well worth it - nothing looks as good as a LaTeX-produced PDF, and for large documents it's a lot easier than fighting with formatting and cross-referencing in MS Word. Review this video from Overleaf to help you get started writing your thesis in LaTeX, using ...

  8. PDF Writing your Thesis or Dissertation with LATEX

    consider writing your thesis or dissertation using LATEX. 1. 2 What you will need Before you begin preparing your document, you will need two things: ... This package is needed for use with the standard LaTeX package. natbib.sty has one way to achieve the layout of bibliographies, using BibTeX, in accor-

  9. Guide to Writing Your Thesis in LaTeX

    Now we will explain how to set things like the title, the author name, and whether it is a masters thesis or a doctoral dissertation. Start by opening the file thesis.tex in your editor. Setting the Class Options. The first line of the file will be: \documentclass{urithesis} This tells LaTeX to use the urithesis document class with all default ...

  10. Formatting in LaTeX

    To use the LaTeX and ut-thesis, you need two things: a LaTeX distribution (compiles your code), and an editor (where you write your code). Two main approaches are: Overleaf: is a web-based platform that combines a distribution (TeX Live) and an editor. It is beginner-friendly (minimal set-up) and some people prefer a cloud-based platform.

  11. Guide to Writing Your Thesis in LaTeX

    Step 1: Install LaTeX and a LaTeX Aware Editor. LaTeX is not a word processor, it is a document preparation system for high-quality typesetting. It is most often used for medium-to-large technical or scientific documents, but it can be used for almost any form of publishing. LaTeX encourages authors not to worry too much about the appearance of ...

  12. Guide to Writing Your Thesis in LaTeX

    The following steps will allow you to generate this shell of a thesis. They will confirm that you have properly installed LaTeX , and that it is working correctly. Install LaTeX and a LaTeX aware editor. Download the latest template files. Verify that everything works, and that you can generate a thesis. Configure the options specific to your ...

  13. How to Write a Thesis in LaTeX (Part 2): Page Layout

    In the first line we've entered a blank \fancyhead command which clears all the header fields. In the second line we've told LaTeX that we want the text "Thesis title" on the right-hand side of the header for the odd pages and the left for even pages. The third line clears the footer fields using a blank \fancyfoot command.

  14. PDF How to Write a Doctoral Dissertation with LATEX

    begin on the second page with A. There should be no blank pages. On pages of the dissertation that are formatted with landscape orientation, the page. corner if the page, so that it would appear inthe correct location i. HAPTER 3How to use the nuthesis document classThe nut.

  15. LibGuides: Overleaf for LaTeX Theses & Dissertations: Home

    5-part Guide on How to Write a Thesis in LaTeX. 5-part LaTeX Thesis Writing Guide. Part 1: Basic Structure corresponding video. Part 2: Page Layout corresponding video. Part 3: Figures, Subfigures and Tables corresponding video. Part 4: Bibliographies with Biblatex corresponding video. Part 5: Customizing Your Title Page and Abstract ...

  16. Overleaf for LaTeX Theses & Dissertations: Using Templates on Overleaf

    (If your University has an official thesis template published on Overleaf, you can customize this box accordingly with a link to the template) Write your thesis using the official 'Name of University goes here' thesis template Find your University's template on Overleaf here (insert link to official LaTeX thesis template on Overleaf Gallery or custom Overleaf institutional portal template page).

  17. How to get started writing your thesis in LaTeX

    Writing a thesis or dissertation in LaTeX can be challenging, but the end result is well worth it—nothing looks as good as a LaTeX-produced PDF, and for large documents it's a lot easier than fighting with formatting and cross-referencing in MS Word. Here we provide a guide to getting started on writing your thesis in LaTeX, using a standard ...

  18. Basic thesis template

    This Thesis LaTeX template is an ideal starting point for writing your PhD thesis, masters dissertation or final year project. The style is appropriate for most universities, and can be easily customised. This LaTeX template includes a title page, a declaration, an abstract, acknowledgements, table of contents, list of figures/tables, a ...

  19. LaTeX templates for writing a thesis

    NOVAthesis is an active and full featured LaTeX thesis template, designed to be easily accessible to LaTeX beginners. It will do all you need except writing the thesis for you! The template is multilingual and easily costumizable. It has considerable large user communities at Facebook (use PT or EN) and GitHub (use EN only).