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

Banner

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

Aucun résultat pour la recherche

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

Part 1 | Part 2 | Part 3 | Part 4 | Part 5

Author: Josh Cassidy (August 2013)

This five-part series of articles uses a combination of video and textual descriptions to teach the basics of writing a thesis using LaTeX. These tutorials were first published on the original ShareLateX blog site during August 2013; consequently, today's editor interface (Overleaf) has changed considerably due to the development of ShareLaTeX and the subsequent merger of ShareLaTeX and Overleaf. However, much of the content is still relevant and teaches you some basic LaTeX—skills and expertise that will apply across all platforms.

Your thesis could be the longest and most complicated document you'll ever write, which is why it's such a good idea to use L a T e X instead of a common word processor. L a T e X makes tasks that are difficult and awkward in word processors, far simpler.

When writing something like a thesis its worth splitting up the document into multiple .tex files. It's also wise to organise the project using folders; therefore, we'll create two new folders, one for all the images used in the project and one for all the .tex files making up the main body of the thesis.

Files a.png

  • 1 The preamble
  • 2 The frontmatter
  • 3 The main body
  • 4 The endmatter
  • 5 All articles in this series

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 brackets into the \documentclass command and specifying the size—we'll choose 12pt. Let's also prepare the document for images by loading the graphicx package. We'll also need to tell L a T e X where to look for the images using the \graphicspath command, as we're storing them in a separate folder.

The start of our preamble now looks like this:

Now we can finish off the preamble by filling in the title, author and date information. To create the simplest title page we can add the thesis title, institution name and institution logo all into the \title command; for example:

This isn't the best way to alter the title page so we'll look at more elaborate ways of customising title pages later on in the series, but this will suffice for now.

This is what the \maketitle command now produces for us:

Title.png

The frontmatter

After the title page we need to add in an abstract, dedication, declaration and acknowledgements section. We can add each of these in on separate pages using unnumbered chapters. To do this we use the \chapter command and add an asterisk. After these sections we'll add a table of contents using the \tableofcontents command:

The main body

Now for the main body of the document. In this example we will add-in five chapters, one of which will be an introduction and another will be a conclusion. However, instead of just composing these chapters in the main .tex file, we'll create a separate .tex file for each chapter in the chapters folder. We can then fill in these chapters with text remembering to split them up into sections and subsections.

Thesisfiles.png

Then to add these chapters into the document, we use the \input command in the root document. Remember to add in chapters/ before the file name so that L a T e X knows where to find it.

The endmatter

We will now add in an appendix at the end of the document. To do this we use the \appendix command to tell L a T e X that what follows are appendices. Again We'll write the appendix in a separate file and then input it.

If we now compile the document, all our chapters will be added to the document and the table of contents will be automatically generated.

Thesiscontents.png

Now we have a basic structure for a thesis set up. In the next post I will show you how to change the page layout and add headers.

All articles in this series

  • Part 1: Basic Structure ;
  • Part 2: Page Layout ;
  • Part 3: Figures, Subfigures and Tables ;
  • Part 4: Bibliographies with BibLaTeX ;
  • Part 5: Customising Your Title Page and Abstract .
  • 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

Contactez-nous

Avez-vous consulté notre Base de connaissances ?

Message envoyé ! Notre équipe va l’examiner et vous répondre par courriel.

Email: 

Banner

Overleaf for LaTeX Theses & Dissertations: Home

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

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

  • One version of your project accessible to collaborators via a shared link or email invitation
  • Easily select the level of access for collaborators (view, edit, or owner access)
  • Real-time commenting speeds up the review process
  • Tracked changes and full history view help to see contributions from collaborators
  • Labels help to organize and compare different versions
  • Chat in real time with collaborators right within the project

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.

Add Institutional Library contact info here.

Contact Overleaf   or email [email protected]

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

ShareLaTeX Joins Overleaf!

Read more about Overleaf and ShareLaTeX joining forces here

Link your ORCiD ID

Link your ORCiD account to your Overleaf account.

See Overleaf news   on  our blog.

  • Next: Using Templates on Overleaf >>
  • Last Updated: May 18, 2021 1:57 PM
  • URL: https://overleaf.libguides.com/Thesis

Banner

Overleaf for LaTeX Theses & Dissertations: Home

  • Using Templates on Overleaf
  • Reference Managers and Overleaf
  • Adding Tables, Images, and Graphs
  • Research Process This link opens in a new window

MBZUAI Overleaf Commons

latex thesis structure

Getting started with your thesis or dissertation

How to get started writing your thesis in LaTeX

 Review this video from Overleaf to help you get started writing your thesis in LaTeX.

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.

Write your thesis using the official MBZUAI thesis template

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

Collaborate with Overleaf

Collaboration tools

  • One version of your project accessible to collaborators via a shared link or email invitation
  • Easily select the level of access for collaborators (view, edit, or owner access)
  • Real-time commenting speeds up the review process
  • Tracked changes and full history view help to see contributions from collaborators
  • Labels help to organize and compare different versions
  • Chat in real time with collaborators right within the project

_______________________________________________

Adapted from Overleaf for LaTeX Theses & Dissertations guide, by Overleaf, May 2021, find original guide here

  • Next: Using Templates on Overleaf >>
  • Last Updated: Aug 3, 2022 11:08 AM
  • URL: https://mbzuai.libguides.com/oltd

home | writing | TIL | now | about

Writing a thesis in latex.

This article is a guide to constructing a decent parent file for a thesis or dissertation compiled in Latex. The specific details implemented here, and included in the example files, are those set out by the guidelines for submission to the University of Nottingham, but can be easily amended to suit any sensible requirements.

Considerable attention has been paid to presenting the final document as a PDF file, which keeps the file size manageable (compared to postscript) and allows groovy add-ons such as hyperlinks and back-referencing. However, several hacks are required to attain good functionality from your PDF file and these can give the latex code a mysterious (and messy) appearance in places. While I highly recommend the inclusion of the PDF-related commands, they are not strictly necessary and can be ignored especially if you are new to Latex.

Note for Windows users

The code outlined below was designed and implemented on the unix system at Nottingham. For those of you unfortunate enough to be running a Windows box, a number of problems may arise when using the below code:

First off, not all the packages used will be present and will need to be installed. Probably the easiest way to do this is to google the package name with the extension .sty and save this file in the C:\VTEX\l2e\\ directory of your machine. Note that for the natbib package, you will also need to download the relevant .bst file, which in this case is unsrtnat.bst .

Also, many of the packages that are installed locally may need updating. For instance, the computers I have tested on both have old versions of the geometry and caption packages, which cause Latex to return errors. To resolve these problems, either download the latest versions, or remove the includefoot option from the geometry package and set the bottom margin to 1.4in.

Also, the code for compiling to PDF does not work so well in Windows, and so it is recommended that Windows users use the template without PDF code.

Requirements

The guidelines for theses to be submitted to the University of Nottingham specify that:

  • the document should be presented on single-sided a4 paper and typeset in a double-spaced size 10-12 font;
  • the left-hand margin should be at least 1.5 inches (4cm) to allow for binding;
  • the other three margins should be at least 1 inch (2.5cm).

Other settings such as the way chapter headings are formatted, and whether headers are included, are not specified and are up to the user. In this case, we’ll install headers and tinker with the chapter formatting.

Template files

Here are the template files which this page explains:

  • thesis_without_pdfcode.tex
  • thesis_with_pdfcode.tex

The appearance of both these files on the printed page will be identical; however after compilation into PDF (see the section below) and opening in Adobe Acrobat (or a similar PDF reader), the advantages that come with the PDF format will be apparent.

  • thesis_without_pdfcode.pdf
  • thesis_with_pdfcode.pdf

The rest of this page is devoted to explaining the code in these files.

Document structure

The document begins in a standard and entirely self-explanatory manner.

Preamble: essential packages

Next, the essential packages are loaded:

where the geometry package has been loaded to allow the margins to be set in a neat and consistent way. The non-obvious option includefoot ensures that the footer (which only contains the pagenumber) is included in the page and is thus 1 inch above the bottom of the page. Note that this option is only available in recent versions of the package: if you’re using an old version and can’t/won’t upgrade, then remove the offending option and extend the bottom margin to 1.4in. headheight=13.6pt is included due to to ensure compatibility with the fancyhdr package (and is not required if you don’t use the fancyhdr package). Also quite essential is the natbib package:

where the various options ensure that references appear in the document as:

…boiled dog can do maths claims experimenter [10,12,15-18].

Alternative referencing styles are easily implemented, see the natbib help file for more details. In fact, to use the natbib package, you’ll have to read at least a few lines of the help file so you understand the difference between \citet and \citep , and I insist you do that now.

Preamble: custom captions (optional)

We now set the figure captions to be elegant and dignified:

Note that early versions of this package don’t support the margin= and tableposition= options; in this case, these trimmings will have to be ignored.

Preamble: custom fonts (optional)

You can also choose an alternative font for both the text and the mathematical characters. This can be achieved by:

Aside from mathpazo , there are several other fonts available, such as chancery , palatino and times (all loaded in the same way).

Preamble: fancy headers (optional)

Feeling a little devil-may-care? If so, you’ll probably want to install some elegant headers along each page. This is easily achieved through the fancyhdr package:

The final complicated-looking three lines simply ensure that the headings for appendices are formatted correctly. (Without these lines, what should read “Appendix A” is set as “Chapter A”.)

Preamble: customised chapter/section headings (optional)

We now make use of several customisation options that are bundled with the sectsty package.

These alter the appearance of the first page of each chapter to have a centred title, with the word “chapter” set in small capitals immediately above. Feel free to employ your own individual and highly refined tastes here in choosing your own chapter/section settings.

Preamble: pdf options (optional)

If you want to publish your thesis on the internet, or even just to email it to someone, then you’ll want to store it in the ubiquitous PDF format. Doing so offers some neat facilities, such as hyperlinking, which are implemented by the hyperref package:

There are various other options you can pass to your favourite PDF reader via the \hypersetup command, such as pdftitle , pdfauthor and pdfsubject ; however, they’re not really essential. Note that the hyperlink colours have all been set to black for consistent printing. Should you want to distribute your thesis over the web, then it would be advisable to set these colours to red or something similarly vibrant and exciting.

Things get a little messy now as a hack is required to ensure the hyperlinks actually jump to the right place.

No need to worry about this code, let’s just move straight on.

Preamble: page layout

We now set various parameters to alter the general page layout:

The first two of these commands alter the paragraph formatting so that new paragraphs are not indented but separated from the previous one by a small amount of whitespace; the third sets the line spacing. The sharp-eyed among you will notice the discrepancy between our chosen line-spacing and that dictated by the university guidelines. However, no matter how poor your eyesight is, you’ll quickly appreciate that true double line-spacing (set with \renewcommand(\baselinestretch}{2} ) looks rubbish. In addition, Nottingham University are perfectly happy to accept theses set with the above line-spacing, which is more pleasing to the eye.

Some final settings:

Set which chapters to include when Latex is next run. The advantage of this method is that all your cross-references are remembered and Latex does not spit out loads of warnings.

Main matter

We now begin the document in earnest and define a suitable title:

followed by a dedication:

We now construct an abstract:

some acknowledgements:

and a contents page:

Now, we alter the pagenumbering to arabic and point to the relevant chapter files:

All your chapter files should be included here; to save time when editing, use the \includeonly command to specify which chapters to compile.

Finally, we make sure there is a link to the references section in the table of contents and reference the correct bibiography file (which in this case is called bibliography.bib ).

And there we have it: a complete thesis parent file that not only looks good on the printed page, but is fully functional and hyperlinked in PDF format.

Compiling to PDF

Whether you’ve included all the red PDF commands or not, you can convert your TEX file to PDF by running (in unix):

The additional argument to ps2pdf is required as the default paper size is US Letter. Note that you will probably need to bibtex your thesis file before running latex for the final time.

For Windows, first open a command window by going Start->Run and entering cmd . Provided MiKTeX and GhostScript are correctly installed then the necessary commands are:

The syntax for ps2pdf is slightly different in Windows compared to Unix - and note that the output pdf filename MUST be specified, else the ps file is overwritten and corrupted.

Something wrong? Suggest an improvement or add a comment (see article history ) Tagged with: latex Filed in: guides

Previous: Tutorial: the complex Ginzburg-Landau equation Next: Following log files with tail -f

Copyright © 2005-2024 David Winterbottom Content licensed under CC BY-NC-SA 4.0 .

LaTeX Resources for Graduate Students: Formatting of theses and dissertations

  • BibTeX reference format
  • BibTeX command
  • LaTeX bibliography file
  • LaTeX editors and compilers
  • Sample LaTeX file with bibliography
  • Sample LaTeX file without bibliography
  • Formatting of theses and dissertations

Formatting and structure

The Cornell Graduate School has become increasingly flexible about the formatting of theses and dissertations.  There now are only seven core requirements . For the structure of theses and dissertations here is a list of required and recommended sections .

Latex template

Among the available thesis and dissertation templates provided by the Graduate School is also a LaTeX template (ZIP archive). This template has been uploaded to Overleaf and placed in the Cornell template directory . This template contains a small fix to avoid an error message about \ifpdf .

  • << Previous: Sample LaTeX file without bibliography
  • Last Updated: Oct 25, 2022 5:12 PM
  • URL: https://guides.library.cornell.edu/latex

An academic thesis, also known as a dissertation, is a substantial work produced by a graduate student to communicate their research and earn a degree. A thesis will typically include a review of the current state of research in the field of study followed by a central hypothesis to be investigated. The bulk of the thesis will then focus on the methods and results of the research performed, followed by a discussion on how the results add to the field in general. Theses are long, highly structured and include a lot of advanced document elements.

latex thesis structure

This template is designed for writing books and graduate-level theses and provides numerous examples and documentation to enable complex requirements. The design features a relatively narrow main text column with an adjacent wide margin to house notes, figures, tables, citations and captions.

  • View Template Information

Masters/Doctoral Thesis

This template provides a full framework for writing a graduate level thesis. It is carefully structured and separated into multiple parts for easy editing. Included are the following pages/sections: a cover page, declaration of authorship, quotation, abstract, acknowledgements, contents page(s), list of figures, list of tables, abbreviations, physical constants, symbols, dedication, example chapter, example appendix and bibliography.

Classicthesis Typographic Thesis

This template has been designed as a homage to the Elements of Typographic Style. As such, it has an air of efficiency and optimal design. It is suitable for any high-level degree thesis such as for a PhD, Masters or Honors. Sections within the thesis are clearly separated in a consistent way, as are sections within each chapter. The default structure of the thesis proceeds in the following order: title page, dedication, abstract, publications, acknowledgements, contents, list of tables/figures/listings, acronyms, content chapters, appendices, bibliography, colophon and declaration.

Maggi Memoir Thesis

This template uses the memoir document class to beautifully typeset a thesis. It is suitable for any high-level degree thesis such as for a PhD, Masters or Honors. The layout of the content is in a thin format to promote easy reading and the template features advanced specification of margins and trimming. The thesis boasts a professional look which is immediately obvious from the title page itself and carries through the design of the rest of the document. Three custom fonts are used in the template to match the design and beautifully display your content.

latex thesis structure

LaTeX Templates Information

General enquiries [email protected]

Most templates licensed under CC BY-NC-SA 4.0

LaTeX Templates is developed in New Zealand

© Creodocs Limited. All Rights Reserved.

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.

Thesis structure

I'm trying to structure my thesis in LaTeX using a template downloaded from an University site. The template is made by a "main" file that uses different .tex files for each chapter. When I work on a chapter to compile the file I have to assemble the "main" file. Since to avoid errors I'm used to compile every few minutes: this means that I have to waste a lot of time to exit the file I'm writing. Is there an easier way?

Jaap Eldering's user avatar

  • 4 If the files are included with \include you can say \includeonly{file1,file2} etc. in the preamble. I am pretty sure we have a lot of questions (and answers) for this –  user31729 Commented Jan 6, 2016 at 17:35
  • Some editors can handle a master file. For example texmaker, change to main.tex, select options and check: Make current file the master file. You can now compile while editing a specific chapter. –  Johannes_B Commented Jan 6, 2016 at 17:49
  • 1 Tools like latexmk or (for Windows) latexdaemon allow for a ‘continuous’ preview of the document you work on: each time a modification is saved, latex runs in the background and updates the resulting .pdf . –  Bernard Commented Jan 6, 2016 at 17:58
  • 1 @ChristianHupfer Wanna scribble up an answer? –  Johannes_B Commented May 1, 2016 at 17:29
  • 1 Since you have some responses below that seem to answer your question, please consider marking one of them as ‘Accepted’ by clicking on the tickmark below their vote count (see How do you accept an answer? ). This shows which answer helped you most, and it assigns reputation points to the author of the answer (and to you!). It's part of this site's idea to identify good questions and answers through upvotes and acceptance of answers . –  samcarter_is_at_topanswers.xyz Commented Nov 16, 2018 at 15:58

One way to make partial compilations is to use \include{...} in the document body and \includeonly{fileA,fileB,...} in the preamble.

Only the files fileA , fileB etc. are included then.

\include preserves the reference labels, but introduces a new page, so it's predestinated for external files with \chapter .

There's also a excludeonly package, with \excludeonly command, that does basically the set complement of \includeonly .

Please note also, that there's usually no need to leave an editor, remove/compile something and enter the editor again (we're not in the late 70s or late 80s or early 1990s any longer ;-))

A personal statement: I don't like such split documents at all.

enter image description here

  • "A personal statement: I don't like such split documents at all." So if I understood well you prefer to have a long document only? –  Luca trying to write in LaTex Commented Oct 5, 2018 at 6:30
  • 1 @LucatryingtowriteinLaTex: Apparently I seem to prefer long document only and you seem to prefer not accepting answers ;-) –  user31729 Commented Nov 13, 2018 at 17:33

You must log in to answer this question.

Not the answer you're looking for browse other questions tagged chapters thesis ..

  • The Overflow Blog
  • This developer tool is 40 years old: can it be improved?
  • Unpacking the 2024 Developer Survey results
  • Featured on Meta
  • We've made changes to our Terms of Service & Privacy Policy - July 2024
  • Introducing an accessibility dashboard and some upcoming changes to display...

Hot Network Questions

  • What is the English word for "tableau" in the context of the theatre?
  • Can an MBA help somehow in reaching academic positions?
  • What's the difference between "Model detail" and "Texture detail" in Portal 1?
  • What was the price of bottled water, and road maps, in 1995? More generally, how to find such historic prices
  • Can sociobiology be used as foundation of ethics?
  • Library project - javascript
  • Electric power transfer
  • What is the anti-trust argument made by musk's recent lawsuit against advertisers that boycotted X/Twitter
  • Groups killed by centralizing one element
  • How to avoid crashing while mountain biking
  • Is there a formal definition of an animal?
  • What is the most economical way to fly small planes?
  • Why did all countries converge on the exact same rules for voting (no poll tax, full suffrage, no maximum age, etc)?
  • Is Heaven real?
  • Mathematica ignores my custom MenuSetup.tr (Windows 10)
  • How to cover large patch of damp?
  • Why is a datetime value returned that matches the predicate value when using greater than comparison
  • Cubic Concatenation
  • How do I add a drain trap to a pedestal sink?
  • Feynman famously criticized the Space Shuttle program for not delivering any value to science. Did things improve in that regard since the 1980s?
  • How to measure out fresh herbs when the recipe calls for 'a tablespoon of chopped herb'?
  • Why don't aircraft use D.C generators?
  • Why does "take for granted" have to have the "for" in the phrase?
  • How could ocean liners survive in a major capacity after large jet airliners become common?

latex thesis structure

Template for a Masters or Doctoral Thesis

This LaTeX template is used by many universities as the basis for thesis and dissertation submissions, and is a great way to get started if you haven't been provided with a specific version from your department.

This version of the template is provided by Vel at LaTeXTemplates.com , and is already loaded in Overleaf so you can start writing immediately.

Checkout this short video to see how to easily create and edit new chapters as your thesis develops.

Please read the unofficial quick guide to the template; it contains some tips and suggestions on how to modify certain things.

(Updated 27/08/17)

Template for a Masters or Doctoral Thesis

Get in touch

Have you checked our knowledge base ?

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

Email: 

IMAGES

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

    latex thesis structure

  2. (PDF) A SIMPLE & CONFIGURABLE LaTex PhD THESIS TEMPLATE

    latex thesis structure

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

    latex thesis structure

  4. latex-thesis-template/thesis.tex at master · deeplearningais/latex

    latex thesis structure

  5. SPhdThesis: A Latex template for writing PhD Thesis

    latex thesis structure

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

    latex thesis structure

VIDEO

  1. Latex Tutorial 6: REFERENCING Citation in Amharic አማርኛ

  2. Latex Thesis Report Template (BracU)

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

  4. LaTeX Tutorial 2

  5. LaTeX Programming : 008 : Document Structure, types, Title Commands and Environments commands

  6. Write a summary in LaTeX

COMMENTS

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

    However, much of the content is still relevant and teaches you some basic LaTeX—skills and expertise that will apply across all platforms. How to Write a Thesis in LaTeX pt 1 - Basic Structure Watch on

  2. 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.

  3. How to get started writing your thesis in LaTeX

    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 ...

  4. PDF LATEX Thesis Class for University of Colorado

    The Thesis class file was originally written by John P. Weiss in 1998 and tested on many theses since then. All the prologue pages of the thesis (everything before chapter 1) are generated by LaTeX using the information you type in the prologue commands (§2). The style options (§3) for the thesis class allow you to choose from among some permitted variations in the look of your thesis ...

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

    In the previous tutorial we looked at setting up the basic structure for a thesis. In this post we'll start customising the page layout using the geometry and fancyhdr packages.

  6. LaTeX Theses and Dissertations

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

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

    Your thesis could be the longest and most complicated document you'll ever write, which is why it's such a good idea to use LaTeX instead of a common word processor. LaTeX makes tasks that are difficult and awkward in word processors, far simpler. When writing something like a thesis its worth splitting up the document into multiple .tex files.

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

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

  9. PDF Writing a thesis with LaTeX

    The structure of a thesis is broadly discussed in specific books and especially by specific ISO rules that discuss the presentation of technical reports [15]. This section proposes a possible structure and analyzes the problems that arise for each section.

  10. Overleaf for LaTeX Theses & Dissertations: Home

    Tips and tools for writing your LaTeX thesis or dissertation in Overleaf, including templates, managing references, adding tables, images, and graphs, and other getting-started guides.

  11. Guide to Writing Your Thesis in LaTeX

    At this point, it is assumed that you have a working LaTeX distribution, an editor, have downloaded and installed the necessary template files, and confirmed that you can build this sample thesis.

  12. Writing a Thesis in LaTeX

    Overview. This article is a guide to constructing a decent parent file for a thesis or dissertation compiled in Latex. The specific details implemented here, and included in the example files, are those set out by the guidelines for submission to the University of Nottingham, but can be easily amended to suit any sensible requirements.

  13. Formatting of theses and dissertations

    Formatting and structure The Cornell Graduate School has become increasingly flexible about the formatting of theses and dissertations. There now are only seven core requirements. For the structure of theses and dissertations here is a list of required and recommended sections.

  14. Guide to Writing Your Thesis in LaTeX

    This guide will show you the steps needed to write your thesis using LaTeX. It covers how to generate the preliminary material like the approval page and table of contents, and how to generate your bibliography and references. This guide doesn't cover how to use LaTeX itself, but some useful resources are listed at the bottom of this page.

  15. Guide to Writing Your Thesis in LaTeX

    Because LaTeX source files are just ordinary text files, any text editor can be used to edit them, but it is important to have a LaTeX aware editor. A LaTeX aware editor can do things like syntax highlighting, spell checking, and automatic formatting. It can also run LaTeX on the source files, update the bibliography, then update the document in a viewer all at the click of a button.

  16. 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.

  17. LaTeX templates for writing a thesis

    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.

  18. LaTeX Templates

    The default structure of the thesis proceeds in the following order: title page, dedication, abstract, publications, acknowledgements, contents, list of tables/figures/listings, acronyms, content chapters, appendices, bibliography, colophon and declaration.

  19. Guide to Writing Your Thesis in LaTeX

    Step 2: Download the Template Files Now that both LaTeX and an appropriate editor are available, you will need the files that are specific to the University of Rhode Island thesis/dissertation format.

  20. Gallery

    This is the style guide for every student at the Global Health Engineering group of ETH Zurich willing to write their manuscript in LaTeX. The template is suitable for Bachelor Thesis, Semester Project, and Master Thesis. A neatly formatted thesis report template for prompt usage.

  21. chapters

    I'm trying to structure my thesis in LaTeX using a template downloaded from an University site. The template is made by a "main" file that uses different .tex files for each chapter. When I work ...

  22. Template for a Masters or Doctoral Thesis

    Abstract This LaTeX template is used by many universities as the basis for thesis and dissertation submissions, and is a great way to get started if you haven't been provided with a specific version from your department.