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

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 .

Write your thesis in LaTeX

This reference article teaches you the things you'll need to write your thesis or report with LaTeX.

latex to write thesis

Introduction

I wrote this terse article as a reference for my “Introduction to LaTeX” workshop, where I teach the basic building blocks of LaTeX to students who want to use LaTeX for their reports, articles, and thesis.

This reference article will tell you about:

  • setting the type of document you are creating with \documentclass ;
  • environments in LaTeX ;
  • the anatomy of a LaTeX document ;
  • using comments to leave notes that aren't shown in the final PDF output ;
  • writing text in LaTeX ;
  • sectioning your document ;
  • adding a table of contents ;
  • using packages to add further functionality to your documents ;
  • enabling internal links to cross-references, figures, equations, etc ;
  • how to cross-reference sections, tables, and figures , and equations ;
  • styling your text ;
  • adding a bibliography and citing it ;
  • adding and using a glossary ;
  • splitting your document into multiple files for easier management ;
  • typesetting mathematical equations ;
  • inserting images into your document (and how to tell LaTeX where to place your image );
  • inserting tables and tabular data ;
  • inserting listings of code ;

If this is your first time working with LaTeX, I recommend using an online service like Overleaf . Overleaf is a service that you can use for free to create LaTeX documents online. It also has a comprehensive learning centre with many articles from which you can learn and it allows working on a project collaboratively with others. But, above all, you can use Overleaf without having to install anything in your computer, so I think it is a friendly way to get started.

Creating a new LaTeX document

To get started, we create a new LaTeX document in Overleaf. When you hit the “New Project” button, it will show you a dropdown with a bunch of templates for you to choose from. Because this is the first time we are working with LaTeX, I always suggest picking the “Blank” template, so that we can build our understanding from the ground up.

Overleaf will open a new page with three columns. The middle column is your LaTeX document and the right column is the PDF preview of what you are typing. Overleaf will also generate a couple of things for you, but we will delete all of them for now.

Delete everything in the middle column and type this out by hand:

These three lines must be present for you to have a valid LaTeX document.

documentclass

The very first line – \documentclass{article} – is a command that tells LaTeX what type of document you are creating. There are various built-in options, but article is always a safe choice for a simple document.

begin and end

Next, we see two lines that are related: \begin{document} and \end{document} . The \begin and \end commands are used to create an environment . An environment is an area in your file where the things you write are treated in a special way.

For example, the environment document defines the area of your file where you can write the text contents of your document. So, we need the two commands \begin{document} and \end{document} to tell LaTeX where our content goes.

Later, in this article, you will also learn about environments that let you add equations, formulas, images, tables, and more.

Your first LaTeX compilation

Now, between the begin and end commands, go ahead and write a sentence. For example, write “Houses are buildings where people live.”.

Your document should look like this:

Next, hit the green button “Recompile” and see Overleaf update the right column with a preview of your compiled document. The compilation process is the process through which LaTeX reads your document, processes everything you have written, and creates a PDF with the desired output.

Commands in LaTeX

Commands , in LaTeX, are things you write that start with the backslash \ and have a special meaning to LaTeX. For example,

  • the command \documentclass tells LaTeX which type of document we want to create;
  • the command \begin tells LaTeX that we are starting a new environment; and
  • the command \end tells LaTeX that we are closing, or ending, an environment that is currently open.

Some commands also accept arguments. For example, the commands \begin and \end accept an argument, which is the name of the environment we are starting/ending.

Thus, the line \begin{document} is a LaTeX command ( begin ) with the argument document .

If you are familiar with programming, this is similar to functions and arguments.

The anatomy of a LaTeX document

Document body.

The document body, which is the region delimited by \begin{document} and \end{document} , is the region where you write your content and it is where you work most of the time.

Document header

The header of a LaTeX document is everything that comes between the \documentclass and the body. The command \documentclass must at the very start of the document, and you can give additional instructions to LaTeX by writing more commands before the body begins.

Shortly, we will see what type of commands it makes sense to put in the header.

Meanwhile, change your LaTeX document to look like this:

After you make this change, recompile your document. Notice that nothing changed in the PDF output.

LaTeX comments

The character % has a special meaning in LaTeX: it creates a comment. Because LaTeX relies on commands and environments to let the user create complex output, sometimes it is useful to use comments to leave helpful notes that facilitate interpreting the LaTeX document.

Therefore, lines that start with % are completely ignored by LaTeX and you can write what you please in them.

Sectioning your document

There are three commands that let you create sections, subsections, and sub-subsections in your document. These commands are, in no particular order, \subsection , \section , and \subsubsection . I will let you figure out which is which!

Each of these commands accepts a single argument, which is the name of the ((sub-)sub)section you are creating.

Create a section with \section

The command \section can be used to create a section. The example below creates two sections:

Create those two sections and recompile your document.

Create a subsection with \subsection

The command \subsection can be used to create a subsection. Go ahead and create two subsections, one named “Private rooms” and the other named “Common rooms”, both of which are after the “Divisions” section header.

To do this, you would modify your LaTeX document like so:

Notice that LaTeX numbers your (sub)sections automatically. Go ahead and reorder the two subsections, recompile your document, and notice how the numbering is updated.

Now, fix the order again, so that “Private rooms” shows up first.

Create a sub-subsection with \subsubsection

The command \subsubsection can be used to create a sub-subsection. Go ahead and create five sub-subsections.

  • The sub-subsections “Bathroom” and “Bedroom” should be under “Private rooms”.
  • The sub-subsections “Kitchen”, “Living room”, and “Dining room”, should be under “Common rooms”.

To do this, your LaTeX document should look like so:

Sub-subsections are likely to be the most fine-grained sectioning you will need for your document. (Hint, the next level is not \subsubsubsection !)

Line changes and paragraphs

Although we have several sections in our document, we have a single paragraph of text. Go to each section, subsection, and sub-subsection and make sure to write a sentence about that section title.

For example, you could write this:

Line changes for new sentences

When writing a paragraph, I suggest you write each sentence on a single line. LaTeX will recognise this as a single paragraph and it makes it easier for you to find the sentence you are looking for in a big document.

So, if I wanted to expand on my introductory paragraph, I could write it like so:

Writing each sentence in its own line does not make LaTeX write sentences in their own line. Instead, LaTeX will collect everything into a single paragraph.

Creating a new paragraph

If you want to start a new paragraph, leave an empty line between the last sentence of the old paragraph and the new sentence of the next paragraph. The example below will compile into two paragraphs:

Spacing in the LaTeX document

As your LaTeX document grows, I suggest you keep some blank lines around key commands to make it easier for you to navigate your document.

As such, I typically recommend leaving two blank lines before and one line after each sectioning command. Thus, my suggested layout for our current document is as such:

For such a short document, this may not make a huge difference, but you will thank me later when you have a full article or report written in LaTeX.

The two-before-one-after “rule” is a guideline I found to work for me. You may prefer a different number of lines or you may want to handle things in an entirely different way. That is absolutely up to you!

Add a table of contents

\tableofcontents.

Creating a table of contents is as simple as adding the command \tableofcontents in the same place where you want the table of contents to show up. Usually, this is right after the document begins:

Table of contents on its own page

If you want the table of contents to appear on its own page, without the document contents immediately after, you can use the command \clearpage to clear the remainder of the page, like so:

The command \clearpage works in any part of the document and it will clear the remainder of the page. Thus, the content that comes next will always be at the start of a new page.

Learn more about the table of contents here .

Creating references to your content

Throughout your document you may want to reference things you have already written, or things that you will show later. For example, you may want to point users to a future section or to a previous image. This can be done with references.

To create a reference, you need two things:

  • a label; and
  • a reference command.

Adding a label with \label

A label is created with the command \label{...} and accepts one argument: the name of the label. Think of it like an actual label you would put in a box for storage: you want the label to reflect what's in the box. Similarly, the label argument should be a name that reflects what you are pointing to.

For example, when I am adding labels to sections, the name starts with sec: and then I put the name of the section in there.

Here is how I would add labels to the two subsections under the section “Divisions”:

Labels can be used after anything that LaTeX adds an automatic number to, so we can already use them with sections, subsections, and sub-subsections.

Reference a label with \ref

After you added a label, you can point to it with the command \ref , which accepts as argument the name of the label you want to add.

For example, add a paragraph to the section “Divisions” saying that you will cover private rooms in the subsection \ref{sec:private rooms} and common rooms in the subsection \ref{sec:common rooms} , like so:

Recompile the document and notice that LaTeX automatically inserts the correct number of the section you are talking about. That is why you should use labels and references instead of writing the numbers out yourself.

Adding automatic links to references with hyperref

To add automatic links to your document, you can use the package hyperref . To “use a package” means going into the header of your document and using the command \usepackage to load the package.

Loading a package is like importing a module in Python, in that it lets you add more functionality and more commands to your document.

Just by loading the package hyperref , your references become clickable.

Add this to your document, recompile, and click an item in the table of contents:

The links will be surrounded by a red box. This is customisable, but you can also easily turn it off with:

The [hidelinks] is an option that lets the package to not add boxes around the links.

Styling your text

To write text in boldface, use the command \textbf and give it as argument the text you want to be in bold.

To write text in italic use the command \textit and give it as argument the text you want to be italicised.

Coloured text

To write text in a different colour use the command \textcolor and give it as arguments the colour and the text. For this, you need the package xcolor which provides the command \textcolor , as well as a series of predefined colours.

Example of a styled sentence

The example sentence contains all styles we just mentioned:

Add a bibliography

When writing a scientific document, you will need to add a bibliography.

Create the bibliography file

There are many advanced and complex bibliography management systems. We will stick to a simple one.

On the left column, create a new file and call it my_bibliography.bib .

Populate the bibliography

The bibliography file is populated with the references to the articles, books, papers, and other resources, that you want to cite.

The file is a collection of entries that look like this:

The @article says it is an article item (it could be a @book , etc). The label_name is a label name that you will use to cite the work from your document. The things that follow are pairs that contain more information about the item you want to cite. You can read more about the BibTeX format here .

Many article and book repositories have functionality to automatically generate the BibTeX entry for a given article, report, book, etc.

For example, I went to Google Scholar and searched for "house". Then, I clicked the button “Cite” and then “BibTeX”. It generated this for me:

Put that in your my_bibliography.bib file.

Inserting the bibliography

To insert the bibliography in your document, use the command \bibliograph and use as argument the name of your file (without the .bib extension).

Recompile your document, and behold! Nothing happens! That is because the bibliography will only show the items that you actively cited in your document.

I am pretty sure this is the standard behaviour in scientific publications, but I am also sure you can customise this behaviour and show all of the items in the bibliography.

Citing an item with \cite

To cite an item from your bibliography, just use the command \cite with the citation key as the argument. The citation key is the label name of that bibliographic item, and it should be the first thing inside the curly braces {} in your item.

For example, in

the citation key is hauser1988house .

To cite this work in the document, write \cite{hauser1988house} . For example, like so:

Recompile, and behold! Still, nothing happens!

Setting the style of the bibliography

To display a bibliography, you also have to set its style. There are many styles available, but we will go with the plain one for this article:

Now, the bibliography should show its only item.

Learn more about managing a bibliography here .

Add a glossary

Similarly, you can add a glossary if you intend on using many acronyms or unfamiliar terms.

Import the package and prepare the glossary

To use a glossary in your document, you need to add the package glossaries to the header and use the command \makeglossaries to tell LaTeX you will define glossary entries.

Add acronym entries

To add glossary acronym entries, use the command \newacronym that takes three arguments:

  • the label name of that glossary acronym;
  • the acronym; and
  • the expanded version of the acronym.

Here are three examples you can add to the header, immediately under \makeglossaries :

Add glossary entries

Similarly, to add a glossary entry, just use the command \newglossaryentry that takes two arguments:

  • the label name of that glossary acronym; and
  • the name and description informations about that glossary entry.

Here is an example you can add under the acronyms you already defined.

Use entries

To use glossary entries, the simplest command is \gls which takes the label name of the entry. \Gls is like \gls , but will capitalise the first letter of the entry. Then, \glspl and \Glspl are useful if you want to use a glossary entry in the plural form.

For example, change the first paragraph of the “Introduction” to this:

Print the glossary

Finally, to print the glossary, we can use the command \printglossaries , for example at the end of the document:

Customising the glossary

The glossary can be customised further to your preferences. You can read more about the glossary here .

Multi-file documents

When creating large documents, it can be helpful to split your sections into different files. For that, go ahead and create two files:

  • introduction.tex ; and
  • divisions.tex .

Copy and paste each section into its file:

Now, delete the sections from your file main.tex and write this instead:

Mathematical formulas and equations

To add maths inline with your text, use a dollar sign before and a dollar sign after the numbers/formulas. Here is an example:

Use something like Detexify to learn about the commands needed to print some symbols. The results also show what packages you might need for those symbols.

Superscript

As a general piece of advice, many symbols expect superscript content or content on top of that, and you can do that with ^ .

Similarly, you can put content under a symbol, or in subscript, with _ .

The summation symbol is a good example of a symbol that takes superscript and subscript elements:

Notice that we use the curly braces {} to group together the things that go into subscript and the things that go into superscript, otherwise LaTeX would only put a single character in each place.

To create a full equation that is displayed in the centre of the text, use the environment equation :

Multi-line, aligned equations

Use the environment align for multi-line equations with alignment:

The symbol & determines where the vertical alignment goes and the double backslash \\ tells LaTeX where to change lines.

You cannot use \\ inside a regular environment equation to change aligns.

Build your equations online

You can use an online LaTeX equation editor like this one to edit your equations by using a friendlier interface, while you are still getting used to the commands.

Referencing your equations

Most mathematical environments (like equation and align ) will give a number to your equation. If you use \label , those can be referenced with the command \eqref . \eqref is just like \ref , but it styles references in a slightly different way to show that you are referencing an equation:

Inserting images into your document

Uploading the image.

The first thing you need to do if you want to insert an image into your LaTeX document is to tell Overleaf about it. This means you need to upload the image into Overleaf.

On the left, Overleaf has an “Upload” button that you can use. If you don't have a picture you would like to upload, you can go ahead and use the thumbnail from this article.

When uploading images, I recommend uploading them into a folder specifically for images. For example, I uploaded my thumbnail.webp into a new folder called images . This will make it easier to organise everything in your project.

The graphicx package

The next thing you need is to use the package that is appropriate for images: graphicx .

Mind you, it is graphicx with an X at the end, and not graphics with an S .

Here is my updated main.tex :

The figure environment

Next, go to where you want to add your image and create the environment figure .

I created the environment in a brand new section:

If you are using Overleaf, it might have filled in some lines for you. We'll go over those now, but we will write them by ourselves.

The command includegraphics

There is a command, called includegraphics , that is responsible for inserting the image into the document. We can use that command inside the environment figure . The argument to the command is the path to the figure, which is the folder the picture is in, followed by the name of the file, separated by a forward slash:

When you type the opening curly brace { Overleaf will suggest image files so you just have to select the correct one.

Also, the command \includegraphics is indentend because that is my personal preference when writing LaTeX inside nested environments. You are free to align the command \includegraphics (and the commands that follow) on the left. However, it is my personal recommendation that you indent LaTeX code inside other environments.

Adjusting the size of your image

There are many ways in which you can adjust the size of your image. The two most common ones are scale and width . These options can go inside the square brackets [] after the name of the command ( includegraphics ) and before the curly braces.

For example, this code would insert the image with 10% the size:

Alternatively, you can specify the width you want the image to have. You can specify this as a value in centimetres cm , millimetres mm , em , pixels px , among other units. You can also specify a size relative to the width of the line of your document, which is \linewidth .

Thus, the code below inserts the image and rescales it so that its width becomes half of the line width (while preserving the aspect ratio of the image):

Notice that \linewidth is not the horizontal length of the page but rather the length of the region where LaTeX will write (so, that's the length of the page minus the margins).

Centring your image

After rescaling your image, you can centre it with the command \centering :

Adding a caption to your image

The next thing you need to do is use the command \caption to add a caption to your image. The command \caption is what will assign a figure number to your image and it is what will allow you to reference your image later.

Here is a simple caption:

The command \caption must come after the included image.

Adding a label to your image

After adding a caption you can add a label that must come after the caption:

As recommended earlier, consider adding a common prefix to all of your image labels. I usually use fig: . Additionally, I tend to use the image name as the label itself. This forces me to give decent names to my images and makes it easier to create the label because I don't have to waste time thinking “what would be a good name for this label?”.

Controlling image positioning

In LaTeX, environments like figures and tables (which you will learn about next) tend to “float” away from the place you put them in. This is intentional and this functionality aims to waste as little whitespace as possible.

This is something you can learn to live with, as it is typically a good thing, but sometimes you may want to control the positioning of your figures and tables.

The package float

If you want to tell LaTeX where to place your figures, you will want to use the package float . You can remember this is the package to use because you want to prevent your figures from “floating” away.

Place the image HERE!

If you want LaTeX to place the image exactly where you added it, you can use the option H (for Here) in the environment figure . This option goes after the command \begin{figure}[H] :

You can learn more about image (and table) placement here .

Creating LaTeX tables

To create LaTeX tables, my suggested approach is that you use an online service like this one to create your tables in a graphical editor and then just copy and paste the LaTeX code that that service generates.

This is an example table generated by the service I linked:

You can learn more about tables here but I explain the basics below.

The environments table and tabular

The environment table is akin to the environment figure but for tables. The environment tabular delimits the area where you write the data for the table.

Specifying the size of your table

When you create a table the only thing you need to do is tell the tabular environment how many columns your table has. You do that via an argument to the environment tabular .

See the {ll} in the table above?

Each letter corresponds to a column and the letter specifies how the column is aligned:

  • l stands for “left”;
  • c stands for “centre”; and
  • r stands for “right”.

As for the number of rows, you do not have to specify them upfront.

Separating items in your table

Inside your environment tabular you use the symbol & to separate items in the same row and you use the double backslash \\ to move to a new row.

Centring a table

Just like a figure environment, table can also be centred:

Captioning and referencing tables

A table can and should be captioned with the command \caption , which means you can then add a label to your table to enable cross-referencing it:

Awesome tables with booktabs

Once you are comfortable with creating a couple of tables I suggest that you look up the package booktabs . With very little effort you can create professional-looking tables. In particular, I am a big fan of this quick guide .

Inserting listings of code

Again, there are many resources out there that teach you about handling code inside your LaTeX file, like this one . I want to show you the most common case (or what should be the most common case): including code from a file into your LaTeX document.

Copying code from a file and pasting it in your LaTeX project is a bad idea because you will probably change your code and then forget to update LaTeX . If we link the LaTeX project that that code file, you can update your code all you want and your report/thesis/document will stay up to date.

The package listings

The package we will be using for this is listings :

The command \lstinputlisting

The command \lstinputlisting expects a path to your code file and will import it into your project. For Overleaf, we will need to update the code file. If you are using LaTeX in your machine you just have to specify the path correctly. It helps if the LaTeX project and the code are somewhere “close” to each other.

Assuming I uploaded a file called mycode.py into the folder code in my Overleaf project, I can write this:

The option language is used to tell listings what language the code is written in, which LaTeX uses to add some very basic syntax highlighting.

If you want to try it for yourself, create the file mycode.py inside the folder code and paste this into that file:

Captioning your listing

To add a caption to your listing, use the option caption :

We write the caption inside {} otherwise LaTeX will think the caption is just the first word you write.

Labelling and referencing your listings

Similarly, the option label can be used to specify the label you can use to refer to a specific listing of code:

Adding reference tables

On top of a table of contents (which lists all sections, subsections, and sub-subsections), you may want to add a reference table of

  • listings; or

Those all have aptly named commands:

\listoffigures

The command \listoffigures will generate a list with all your figures.

\listoftables

The command \listoftables will generate a list with all your tables.

\lstlistoflistings

The command \lstlistoflistings (from the package listings ) will generate a list with all your code listings.

This was the reference article I use for my LaTeX workshops. Typically, I don't have time to go through every single section of this article. I might also talk more about specific sections, depending on my audience.

Either way, I hope this was at least a bit helpful for you!

If you want to check it, this is the Overleaf document that implements all of these introductory features as I presented them here. Feel free to copy it and use it as a template for your LaTeX documents.

Become a better Python 🐍 developer 🚀

+35 chapters. +400 pages. Hundreds of examples. Over 30,000 readers!

My book “Pydon'ts” teaches you how to write elegant, expressive, and Pythonic code, to help you become a better developer. >>> Download it here 🐍🚀 .

  • Overleaf Documentation, https://www.overleaf.com/learn [last accessed 22-03-2023];

Previous Post Next Post

Random Article

Stay in the loop, popular tags.

  • 3 August 2024
  • 8 July 2024
  • 1 June 2024
  • 6 April 2024
  • 5 March 2024
  • 2 February 2024
  • 8 January 2024
  • 1 December 2023
  • 22 November 2023
  • 4 October 2023
  • 6 September 2023

There are seven mathematics problems called Millenium Prize Problems , each with a $1,000,000 bounty.

mathspp

  • Link to facebook
  • Link to linkedin
  • Link to twitter
  • Link to youtube
  • Writing Tips

7 LaTeX Tips for Writing Your Thesis or Dissertation

7 LaTeX Tips for Writing Your Thesis or Dissertation

4-minute read

  • 30th January 2022

LaTeX (pronounced lay-tech) is a system for document preparation widely used in mathematics, science, engineering, and linguistics. It allows you to create beautifully presented academic work and is especially useful when you need to include formulas, footnotes, bibliographies, or tables of contents.

LaTeX provides ready-made commands for formatting so that users can focus mainly on the content of their academic writing.

In this post, we’ll share our top tips for creating complex LaTeX documents professionally:

  • Choose a LaTeX editor
  • Decide on a template
  • Follow a tutorial
  • Break up your main file into smaller ones
  • Use % to insert comments
  • Learn to understand error logs
  • Have a professional proofread your LaTeX document

Read on to learn how to best use these tips.

1. Install a LaTeX Editor, or Access Online

As LaTeX files are plain text, they can be created in any text editor (like Notepad), but it’s easier to manage long documents if you use specialized LaTeX editing programs like TeXmaker, TeXworks, or Overleaf .

To make the code easier to read, these tools show the text in different colors. They also have features like auto-complete commands and a PDF viewer so you can see what your final document will look like.

2. Select a Suitable Template

With LaTeX, you don’t have to worry about layout. Simply pick a template for the type of document you’re writing (e.g., a resume or a thesis).

If your university doesn’t provide you with one, you can look online for free templates. Most LaTeX editors come with standard templates.

3. Start With a Tutorial

If you’ve never used LaTeX before, you should start with a tutorial to familiarize yourself with the basic commands and learn how to import packages to get more features.

A short tutorial will teach you enough to write a simple LaTeX document. Once you get more advanced, though, you might need more commands. You can probably find everything you need with a quick Google search.

4. Split Your Document Into Multiple Files

Your thesis or dissertation is probably the longest document you’ve had to write in your academic career so far. With LaTeX, you can split your main file into smaller chunks.

Find this useful?

Subscribe to our newsletter and get writing tips from our editors straight to your inbox.

For a thesis, this would normally mean creating a separate .tex file for each chapter. With the commands \input or \include, you can insert these files into your main file.

5. Use the “%” Command to Insert Comments

If you’re a programmer, LaTeX probably comes naturally to you. But for others, it’s tough to look at multiple pages of code at once. This is where “%” comes in handy.

Any text you type after the % symbol won’t appear in the final document. So, you can use “%” to remind yourself what a particular section of code does, or as a way to find your way around:

{\ small text} % small font size

You can also use “%” to “switch off” some of your text lines. This is handy if you want to debug your document, as you can easily switch them back on if needed.

6. Find Out What Error Logs Mean

It’s helpful to learn the meaning of standard error logs so you can easily fix simple errors. An error log looks like this:

[filename]:[line number where error occurs]:[description of error].[incorrect content]

If you can’t easily identify the error, you can contact experienced LaTeX users by joining an online community like TeX—LaTeX Stack Exchange .

7. Expert LaTeX Proofreading

Although most LaTeX editing programs include a basic spell checker, you still need to have your work proofread by a LaTeX expert. Our team at Proofed is experienced in handling .tex files, so your LaTeX documents are in good hands with us.

You can even put our service to the test by sending us 500 words for free proofreading .

Share this article:

Post A New Comment

Got content that needs a quick turnaround? Let us polish your work. Explore our editorial business services.

5-minute read

Free Email Newsletter Template (2024)

Promoting a brand means sharing valuable insights to connect more deeply with your audience, and...

6-minute read

How to Write a Nonprofit Grant Proposal

If you’re seeking funding to support your charitable endeavors as a nonprofit organization, you’ll need...

9-minute read

How to Use Infographics to Boost Your Presentation

Is your content getting noticed? Capturing and maintaining an audience’s attention is a challenge when...

8-minute read

Why Interactive PDFs Are Better for Engagement

Are you looking to enhance engagement and captivate your audience through your professional documents? Interactive...

7-minute read

Seven Key Strategies for Voice Search Optimization

Voice search optimization is rapidly shaping the digital landscape, requiring content professionals to adapt their...

Five Creative Ways to Showcase Your Digital Portfolio

Are you a creative freelancer looking to make a lasting impression on potential clients or...

Logo Harvard University

Make sure your writing is the best it can be with our expert English proofreading and editing.

University of Rhode Island

  • Future Students
  • Parents and Families

College of Engineering

  • Research and Facilities
  • Departments

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 their documents but to concentrate on getting the content right.

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.

Below are links to what you need to get started on various operating systems. Check out the LaTeX Project website for more information.

Your system distribution or vendor has probably provided a LaTeX system. If not, check your usual software source for the texlive package, or otherwise install texlive directly. All of the Linux systems in the ELE Department already have a complete LaTeX system installed.

Two good editors for Linux are Texmaker and TeXstudio .

MacTeX is a full LaTeX system for MacOS which includes an editor.

The editors Texmaker and TeXstudio can also be used.

Microsoft Windows

proTeXt is a full LaTeX system for Windows, which includes MikTeX and an editor. You can also install MikTeX directly with the editor of your choice.

There are numerous good editors for Windows, some of which are TeXnicCenter , Texmaker and TeXstudio .

Caltech Library logo

LaTeX Authoring With Overleaf: Theses in LaTeX

  • Getting Started
  • Theses in LaTeX
  • Overleaf Training
  • Workshop Syllabus

Caltech Thesis LaTeX template in Overleaf

As of January 2016, the Caltech Overleaf portal offers thesis authors a LaTeX template that reflects the regulations of the Office of Graduate Studies and the requirements of the Institute. There are two versions of the thesis template available: one with the approved Caltech logo; the other without a logo.

latex to write thesis

Downloading Overleaf template files

You can download the Overleaf template files as zip files to your own computer if you prefer to use them that way. Open up a blank thesis template on the Overleaf site, then click on Project at the top of the screen. A green box labeled “Download as ZIP” will show up in the left column, and you can choose which types of files you want to download.

Head of Research Services

Profile Photo

Author Services and Thesis Librarian

Profile Photo

  • << Previous: Getting Started
  • Next: Overleaf Training >>
  • Last Updated: Nov 15, 2023 3:54 PM
  • URL: https://library.caltech.edu/latex

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.

Writing and Managing Thesis in LaTeX

I'm in the process of thesis writing. I'm LaTeX newbie and have its limited knowledge and experience. I'm thinking to use LaTeX or LyX for my thesis. Which one is better for thesis write up? If I go with LaTeX then how can I use it more efficiently. In case of LaTeX I'd like to have separate .tex file for each chapter and each chapter will have its own bibliography. Then how can I combine all chapters and other issue would of cross references. I have to my Univ. template for thesis write up. I'd highly appreciate if someone provide me general guidelines to manage and write a long document like thesis in LaTeX.

  • document-configuration

Martin Scharrer's user avatar

  • 8 As a start, I would suggest reading: (1) LaTeX templates for writing a thesis and (2) Everyday LaTeX and workflow? –  Werner ♦ Commented Sep 26, 2011 at 6:38
  • 2 In addition to the given suggestions I also prefer to create an own directory for the images and subchapters. Including a chapter then looks like this: \include{./tex/example.tex} I find another hack quite useful: For labels I prepend a short indicator for the kind of label: \label{txt:foobar} is for a label in a paragraph where \label{img:foobar} refers to an image. This way, the labels won't collide so often. –  0x6d64 Commented Sep 26, 2011 at 7:33
  • 6 For a thesis, you will also want version control –  Seamus Commented Sep 26, 2011 at 14:13

5 Answers 5

The following code is derived from my template code (currently only in svn ). My old template can be found on this site .

It shows how to organise chapters using include and includeonly. Also numbering of pages at the beginning, main part and appendix are set up. having a bib for each chapter can be set up using biblatex, which I have not tried yet.

Matthias Pospiech's user avatar

  • Thanks for nice guidelines. I wonder how to do cross references from one chapter to another and have to make different folder for each chapter. Thanks –  MYaseen208 Commented Sep 26, 2011 at 14:15
  • I really like you template. I tried the latest version but it did not work for me. I believe I missed something. I'd highly appreciate if you let me know where can I download the zipped folder for the latest template. Thanks –  MYaseen208 Commented Sep 26, 2011 at 18:52
  • 1 references from one chapter to another requires nothing special and where your files are located does not matter either. About my template Version 3 from the website - what are your problems exactly? You can also send me a personal email. about the new version: you can extract the source using any svn client. There is no release yet. It does not mean that it is alpha software. It works, and I wrote my phd thesis with it. It is mostly unfinished regarding the documentation. General note: make sure you have the lastest miktex or texlive installed. –  Matthias Pospiech Commented Sep 26, 2011 at 19:21
  • Thanks for your prompt positive reply. I got this error message File `showexpl.sty' not found. –  MYaseen208 Commented Sep 26, 2011 at 19:24
  • It is not required. Search for \usepackage{showexpl} and remove that line. But better would be to make a full install of miktex or texlive. –  Matthias Pospiech Commented Sep 26, 2011 at 19:27

On the "Managing" side, I'd really recommend a version control system. git (and github) has treated me very well.

Lally Singh's user avatar

  • 11 I'll just mention that, unlike Github, a free account on BitBucket has unlimited private repositories. BB uses Mercurial, which is also a distributed VCS, like Git. –  Torbjørn T. Commented Sep 26, 2011 at 15:40
  • 5 An addition to the above comment: BitBucket has for a little while provided Git repositories as well as Mercurial repos. –  Torbjørn T. Commented Nov 20, 2011 at 15:04

I have come to like package todonotes which helps a lot to remember all the small and big things you still have to to. LaTeX-savy reviewers can also use it.

Raphael's user avatar

You should check out Choosing Your Workflow Applications (also on GitHub ) by Kieran Healy. It is targeted to social science grad students, but a lot of the information should be relevant.

Introduction for "Choosing Your Workflow Applications" : As a beginning graduate student in the social sciences, what sort of software should you use to do your work? More importantly, what principles should guide your choices? This article offers some answers. The short version is: write using a good text editor (there are several to choose from); analyze quantitative data with R or Stata; minimize errors by storing your work in a simple format (plain text is best) and documenting it properly. Keep your projects in a version control system. Back everything up regularly and automatically. Don’t get bogged down by gadgets, utilities or other accoutrements: they are there to help you do your work, but often waste your time by tempting you to tweak, update and generally futz with them. To help you get started, I provide a short discussion of the Emacs Starter Kit for the Social Sciences, a drop-in set of useful defaults designed to help you get started using Emacs (a powerful, free text-editor) for data analysis and writing.

doncherry's user avatar

  • 1 Sorry, I had to delete your answer to the PhD guide question, because the text there is identical to this here. Both questions are linked, see the answer by Yiannis Lazarides on the other post, or the right navigation panel on both questions. I deleted the 0 votes answer and kept this one with 3 upvotes. –  Stefan Kottwitz ♦ Commented Jan 29, 2012 at 10:10

I have recently started learning latex to write my thesis. I can recommened two great books for reference.

1) Latex for Beginner's by Stefan Kottwitz (This book is awesome and there is a section on handling large documents - having chapters in different files.)

http://www.amazon.co.uk/LaTeX-Beginner%2527s-Guide-Stefan-Kottwitz/dp/1847199860/ref=sr_1_1?ie=UTF8&qid=1317044296&sr=8-1

2)Latex Wikibook

http://en.wikibooks.org/wiki/LaTeX

A friend told me when starting:

a) Don't use a template. They are very tempting but you can do it all yourself and learn how latex works much better along the way. I tried to use some templates but they were more confusing than just starting from scratch with the book class.

b) Use biblatex and biber. You want a bibliography at the end of each section and biblatex can do it without any extra packages plus the documentation is good.

c)Running "texdoc " is your friend! (on windows to get package documentation)

As for the editor, I use texworks as it is simple and comes with TexLive 2011. Again, LyX was tempting.

Darling's user avatar

  • 2 My impression about templates: advanced latex users almost never use them. Most beginners would not even consider to use LaTeX without them. My template is not really fancy in the layout and not fast because it loads a lot packages, but you can do everything you ever wanted without the need to even think about the correct package for that task - it simply works. Also most self written templates make me cry when I see all those typical errors, wrong configs and wrong packages. –  Matthias Pospiech Commented Sep 26, 2011 at 14:19
  • 1 Use a template if your university has very detailed requirements on how a thesis must look (universities in the US tend to be much more picky about this). You may not have to use it in the beginning, though. However, it is true that the code quality in many university-provided templates is lacking -- I'm trying to make sure my university's template is as clean as possible. –  Mike Renfro Commented Sep 26, 2011 at 15:33
  • 1 I agree with Mike on this. The advice to use or not use templates depends a lot on the quality of the template that is available. There are many well-maintained thesis classes for US universities, so a blanket rule of "don't use a template" is too strong. This is especially true if the class/template for your university is (i) available on CTAN and (ii) updated regularly by a stable maintainer. If both of these conditions are met, using a template may be the best way to go. –  Alan Munn Commented Sep 26, 2011 at 18:03
  • At my university in germany (hanover) there is no requirement on how a thesis must look. My template is very general and documented so that it can be modified. It is however not on ctan. But I consider moving the next version there. –  Matthias Pospiech Commented Sep 26, 2011 at 19:24

You must log in to answer this question.

Not the answer you're looking for browse other questions tagged thesis document-configuration ..

  • The Overflow Blog
  • The hidden cost of speed
  • The creator of Jenkins discusses CI/CD and balancing business with open source
  • Featured on Meta
  • Announcing a change to the data-dump process
  • Bringing clarity to status tag usage on meta sites

Hot Network Questions

  • In which town of Europe (Germany ?) were this 2 photos taken during WWII?
  • Why is Haji Najibullah's case being heard in federal court in the Southern District of NY?
  • Which weather condition causes the most accidents?
  • What is an overview of utilitarian arguments in support of exclusive relationships?
  • Maximisation of product
  • Nightmare Budget Bathroom Reno
  • Light switch that is flush or recessed (next to fridge door)
  • What's the difference? lie down vs lie
  • What's "the archetypal book" called?
  • Dirichlet Series that fail to be L-functions
  • Why is notation in logic so different from algebra?
  • Is it helpful to use a thicker gage wire for part of a long circuit run that could have higher loads?
  • Can I Use A Server In International Waters To Provide Illegal Content Without Getting Arrested?
  • Microsoft SQL In-Memory OLTP in SQL Express 2019/2022
  • Deleting all files but some on Mac in Terminal
  • I'm a little embarrassed by the research of one of my recommenders
  • What was the first "Star Trek" style teleporter in SF?
  • How can I play MechWarrior 2?
  • Can Christian Saudi Nationals visit Mecca?
  • Invest smaller lump sum vs investing (larger) monthly amount
  • How to run only selected lines of a shell script?
  • Is it possible to recover from a graveyard spiral?
  • Why would autopilot be prohibited below 1000 AGL?
  • Nausea during high altitude cycling climbs

latex to write thesis

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

latex to write thesis

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.

latex to write thesis

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

IIT Jodhpur_Masters&PhD_Thesis_Template

IIT Jodhpur_Masters&PhD_Thesis_Template

Get in touch

Have you checked our knowledge base ?

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

Email: 

IMAGES

  1. A Complete Thesis Writing in LaTeX (Latex Basic Tutorial-25)

    latex to write thesis

  2. LaTeX-AMC-PhD-Thesis-Template/README.md at master · SeaShadow/LaTeX-AMC

    latex to write thesis

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

    latex to write thesis

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

    latex to write thesis

  5. How to Write a Research Paper Using LaTex

    latex to write thesis

  6. latex template

    latex to write thesis

VIDEO

  1. Write a summary in LaTeX

  2. How to write a beautiful PhD thesis using latex, Part-I

  3. Introduction to LaTeX Part 1 of 3 (the basics)

  4. IIT Bombay Thesis Template for LaTeX (LaTeX template

  5. How to write the preface of a PhD thesis using latex, Part-II

  6. An efficient and effective publication process

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

  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. How to Write a Thesis in LaTeX pt 1

    In this video series we're going to show you how to create a thesis using LaTeX. In this first video we look at getting the basic document structure right.To...

  6. A Complete Thesis Writing in LaTeX (Latex Basic Tutorial-25)

    In this lecture, we will learn to format a complete scientific thesis in latex.LaTeX is perfectly suited to write a scientific report, no matter if it is an ...

  7. LaTeX Theses and Dissertations

    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.

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

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

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

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

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

  13. How to Write a Thesis in LaTeX (Part 4): Bibliographies with ...

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

  14. Write your thesis in LaTeX

    Commands, in LaTeX, are things you write that start with the backslash \ and have a special meaning to LaTeX. For example, the command \documentclass tells LaTeX which type of document we want to create; the command \begin tells LaTeX that we are starting a new environment; and. the command \end tells LaTeX that we are closing, or ending, an ...

  15. 7 LaTeX Tips for Writing Your Thesis or Dissertation

    7 LaTeX Tips for Writing Your Thesis or Dissertation. LaTeX (pronounced lay-tech) is a system for document preparation widely used in mathematics, science, engineering, and linguistics. It allows you to create beautifully presented academic work and is especially useful when you need to include formulas, footnotes, bibliographies, or tables of ...

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

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

  18. PDF Writing a thesis with LATEX

    Luckily, when using the right commands, LATEX does a very good job. The very first thing to do is to avoid commands like \clearpage and let LATEX automatically choose the position of the floating objects: while writing the thesis, the author should be focused only on the content and not be concerned with the layout.

  19. Library: LaTeX Authoring With Overleaf: Theses in LaTeX

    Caltech Thesis LaTeX template in Overleaf. ... Open up a blank thesis template on the Overleaf site, then click on Project at the top of the screen. ... (EAS) Guides, Writing Guides. Author Services and Thesis Librarian. Kathy Johnson she/her Email Me. Contact: Sherman Fairchild Library 1-43. Subjects: Digital Repository Guides << Previous ...

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

  21. Writing and Managing Thesis in LaTeX

    2. In addition to the given suggestions I also prefer to create an own directory for the images and subchapters. Including a chapter then looks like this: \include {./tex/example.tex} I find another hack quite useful: For labels I prepend a short indicator for the kind of label: \label {txt:foobar} is for a label in a paragraph where \label ...

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

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

  24. IIT Jodhpur_Masters&PhD_Thesis_Template

    IIT Jodhpur Masters & Doctoral Thesis Template! This LaTeX template is designed to help students of IIT Jodhpur create their thesis or dissertation with ease and adherence to the institute's guidelines. ... % Include the appendices of the thesis as separate files from the Appendices folder % Uncomment the lines as you write the Appendices ...