Skip to main content
Professional templates for writing your thesis or dissertation. These templates comply with most university requirements and include all necessary components for a complete academic document.
Quick start: Pick a template in the gallery and select Open in editor, or copy its complete source from Template source code.

Choose This Template When

  • You need chapters, front matter, appendices, and a long-document structure
  • Your department expects a thesis or dissertation layout instead of a short article format
  • You want a starting point for bibliography, lists of figures, and large-project organization

Start in LaTeX Cloud Studio

How to Adapt for Your University

  1. Check your official thesis formatting guide first.
  2. Set margin, line spacing, and front matter requirements in the preamble.
  3. Align chapter naming and numbering with department policy.
  4. Choose bibliography rules early using the Bibliography hub.
  5. Use structure guides for large projects from the Document Structure hub and Managing large documents.

Template source code

Each block below is the complete template. The preview above is page 1 of the PDF that the pinned TeX Live 2026 environment compiles from this exact source; expand the rendered output to see every page.

Master of Science thesis

Master’s students who need front matter, chapters, theorem environments and appendices in a report-class thesis.
thesis-masters.tex

PhD dissertation

Doctoral candidates writing a book-length dissertation with front matter, many chapters and appendices.
dissertation.tex

Undergraduate thesis

Bachelor’s theses and capstone projects that need a title page, contents and sections but no chapters.
thesis-undergrad.tex

University-Specific Formatting

Page Setup Options

formatting.tex

Front Matter Components

frontmatter.tex

Chapter Organization

Using Separate Files

main-modular.tex

Chapter File Example

chapter-introduction.tex

Bibliography Management

biblatex-setup.tex

Sample Bibliography File

Common Thesis Elements

Equations and Theorems

math-elements.tex
Ready to use this syntax? Continue in the browser editor when you want to adapt the example in a real project.Open LaTeX Cloud Studio

Algorithms

algorithms.tex

Formatting Tips

Essential Formatting Guidelines:
  1. Check your university’s specific requirements early
  2. Use consistent formatting throughout
  3. Number all pages except title page
  4. Include page numbers in TOC for all sections
  5. Ensure figures and tables are referenced in text
  6. Keep one backup version before major changes

Common Requirements

Troubleshooting

Common Issues:
  • Missing references: Run BibTeX/Biber between LaTeX compilations
  • Incorrect numbering: Clear auxiliary files and recompile
  • Overfull hboxes: Adjust text or use \sloppy in problematic paragraphs
  • Figure placement: Use [htbp] for flexible positioning

Compilation Workflow

Additional Resources

Writing your thesis as a student? See how LaTeX Cloud Studio for students supports theses, lab reports, and assignments.
Final Tip: Start writing early, even if just outlines. LaTeX makes it easy to reorganize content as your thesis evolves. Focus on content first, formatting second.
Good luck with your thesis! Remember to take regular breaks and celebrate small victories along the way.