A beginner's guide to

LaTeX Typesetting

Write the words, describe the structure, and let the compiler do the layout. LaTeX typesetting is writing documents as plain text with markup, then compiling them into polished PDFs; it is popular for maths, theses, CVs, reports and books.

Guide updated 31 October 2026

Start here ↓
Start-up costFree
Best settingComputer
FeelsCurious
PopularityModerate
CostFree/very low
DifficultyModerate
Time needed30 minutes
Physical effortVery low
Social levelOptional
⌨️

Start this hobby

Your first practical checklist

01

Buy or borrow

A LaTeX distribution or an online editor. Install TeX Live (MacTeX on a Mac) or MiKTeX on Windows, or start in a browser editor such as Overleaf with nothing to install; full local installs are several gigabytes.

02

First 30 minutes

Create a free online account or install a distribution, compile the sample document, then change the title, author and a few sentences to see the PDF update.

03

First week goal

Rebuild your CV or an assignment, change the margins and font size in the preamble, and add one package to see what it does.

04

Avoid this mistake

Using blank lines and manual spacing to force layout fights the system; use sections, environments and spacing commands and let LaTeX handle placement.

Is this for me?

A quick fit check

Good signs

  • You write documents that need numbered equations, figures, cross-references or a bibliography, such as a thesis, lab report or journal paper.
  • You are happy to fix things by reading error messages and searching for answers, since compile errors are a normal part of LaTeX.
  • You care how pages look and want identical formatting across a 200-page document without fighting it.

Think twice if

  • The learning curve is real: early documents will fail to compile, and tables and image placement behave differently from a word processor.
  • Collaborators who only use Word may not want to edit .tex files, so sharing can mean sending PDFs or using a shared online editor.
  • A full local install is large, and missing or out-of-date packages can produce confusing errors.

Make LaTeX typesetting easier

Start in a free browser-based editor so there is nothing to install, begin from a template for the kind of document you need, and only move to a local install once you know why you want one.

First session

What to do in the first 30 minutes

0–5 min

Open an online editor or your installed one, create a project from the article template and compile it to see the PDF.

5–15 min

Change the title, author and date, add a \section and a \subsection, and write two paragraphs, leaving a blank line to start each new paragraph.

15–25 min

Add a bulleted list with the itemize environment and one line of maths between dollar signs, recompiling after each change.

25–30 min

Deliberately delete a closing brace, compile, find the error in the log and fix it, so that errors stop being frightening.

The appeal · Digital practice

Why try LaTeX typesetting?

LaTeX is a markup system where you type text and commands in a plain-text file, then compile it into a PDF with consistent typography, numbered equations and automatic contents lists, cross-references and bibliographies. Unlike Word or Google Docs you do not drag things around the page, and unlike Markdown you get fine control over layout and mathematics. Most people start with a CV or short report, move on to a dissertation or slides, and eventually write their own templates.

✦

Consistent, professional pages

Headings, numbering, contents lists and cross-references update themselves, so a long document stays tidy as it changes.

✦

Maths that looks right

Equations are typeset to the standard used in many science and maths publications, which is hard to match in other programs.

✦

Plain-text, portable work

Your source is a text file you can keep in version control and open anywhere, independent of any one program.

Keep it simple

What you need to begin

  • A LaTeX distribution or an online editorInstall TeX Live (MacTeX on a Mac) or MiKTeX on Windows, or start in a browser editor such as Overleaf with nothing to install; full local installs are several gigabytes.
  • A text editor with PDF previewTeXstudio or a code editor with a LaTeX extension shows the PDF beside your source and jumps to errors; browser editors include this.
  • A small real document to typesetYour CV, an assignment or a one-page newsletter gives you a reason to learn each command, which works far better than abstract exercises.
  • A free beginner's guide and a symbol lookupThe free 'Not So Short Introduction to LaTeX' answers most early questions; when something breaks, search the exact error message.

The fundamentals

Four skills to build

01

Document structure and the preamble

Choosing a document class and setting up the title, sections and packages in the preamble tells LaTeX what the document is, and layout follows from that.

02

Maths mode

Typing inline and display equations with symbols, fractions, subscripts and aligned environments is the reason many people learn LaTeX in the first place.

03

Figures, tables and floats

Images and tables are 'floats' that LaTeX places for you, so learning captions, labels and placement options saves a lot of frustration.

04

Cross-references and bibliographies

Labels, \ref and a bibliography file (BibTeX or BibLaTeX) keep numbering and citations correct however much you rearrange.

Four small steps

Your first week

  1. Create a free online account or install a distribution, compile the sample document, then change the title, author and a few sentences to see the PDF update.
  2. Write a two-page document with \section headings, a bulleted list, an image and a table, and fix any errors by reading the first error line in the log.
  3. Typeset a few equations in maths mode, number one of them, and refer to it elsewhere with \label and \ref.
  4. Rebuild your CV or an assignment, change the margins and font size in the preamble, and add one package to see what it does.

The longer path

How progress usually looks

For latex typesetting, a sustainable rhythm is an hour or two a week while learning, usually tied to a real document you need to produce. Move forward when the current step feels repeatable, not merely possible once.

1

First documents

You can compile a simple article with sections, lists, an image and a few equations, and recover from the common errors.

2

Reports and CVs

You use a bibliography, tables, cross-references and a few well-chosen packages to produce a report or CV in the layout you want.

3

Long documents and slides

You split a dissertation across several files, build slides with Beamer, and customise headers, fonts and page layout confidently.

4

Writing your own templates

You define your own commands and environments, make a reusable template, and can answer other people's questions.

Progress markers

What improvement looks like

Beginner

You can compile a simple article with sections, lists, an image and a few equations, and recover from the common errors.

Intermediate

You split a dissertation across several files, build slides with Beamer, and customise headers, fonts and page layout confidently.

Confident

You define your own commands and environments, make a reusable template, and can answer other people's questions.

Spend deliberately

A realistic cost plan

The headline starting range is Free, but access, borrowing and second-hand equipment can change that substantially.

Try it£0A free browser editor or a free distribution install, plus free guides.
Get going£0–£20Still free software; spend only if you want a printed manual or to print and bind a finished document.
Later£20+A paid online-editor plan if you need extra collaboration features, books, or professional printing of a dissertation.

Learn with other people

Community and safety

☺

Finding your people

Many universities and research groups run LaTeX workshops that welcome beginners, and the TeX Stack Exchange site is a large question-and-answer community. Sharing a template with a friend or society is a good way to practise.

+

Safety note

Low risk. Keep backups or use version control so a bad edit does not cost you work, and take templates and packages from your distribution, the official package archive or your university rather than unofficial download sites. Take regular breaks from long screen sessions.

Three common beginner mistakes

  • Using blank lines and manual spacing to force layout fights the system; use sections, environments and spacing commands and let LaTeX handle placement.
  • Writing pages before compiling hides which line broke things; compile after every few lines so errors are easy to trace.
  • Forcing figures to sit exactly where you typed them often leaves big white gaps; let floats move and refer to them by number.

Good to know

One tip worth keeping

From the HobbyWiki notebook

The classic mistake is pasting in a long template full of packages you do not understand, then being unable to fix the errors; start with a tiny document and add one package at a time. When a compile fails, read the first error in the log, not the last, because later errors are often knock-on effects.

Find your angle

Useful searches from here

Before you begin

Common questions

Is LaTeX hard to learn?+

The basics take a few hours and most people get comfortable within a few weeks of real use. The hard parts are decoding error messages and fine layout control, which you pick up as you go.

Should I use LaTeX or Word?+

Word is quicker for short, simple or collaborative documents. LaTeX pays off with equations, long documents, many references and a need for consistent layout.

Do I need to install anything?+

No. An online editor runs in a browser. A local install works offline and gives you more control but takes several gigabytes.

Is LaTeX free?+

The software itself (TeX Live, MiKTeX) is free and open source. Some online editors have free plans with limits and paid plans for extra features.

What is the difference between LaTeX and Markdown?+

Markdown is a lighter markup for basic formatting with little control over layout or maths. LaTeX is more powerful and more demanding, and tools exist to convert between them.