Learn LaTeX
Short guides with examples. Every example is a complete document you can open as a project and compile.
Basics
Your first LaTeX document
The parts every document has: the class, the preamble, the body, sections — and how to compile.
4 min read
Formatting text and lists
Bold, italics, emphasis, lists, quotations, footnotes and special characters.
4 min read
Writing mathematics
Inline and display math, numbered equations, aligned equations, fractions, sums and matrices.
6 min read
Page layout
Margins, paper size, two columns, line spacing, and headers.
4 min read
Fixing common errors
What the most frequent LaTeX messages mean and how to fix them.
6 min read
Writing a paper
Figures and images
Insert images with graphicx, size them to the column, add captions and refer to them.
5 min read
Tables
Build tables with tabular, make them look professional with booktabs, merge cells and fit wide tables.
6 min read
Citations and bibliography
Keep references in a .bib file, cite them with \cite, and choose a citation style.
6 min read
Cross-references
Label sections, figures, tables and equations, and refer to them so the numbers stay right.
3 min read
Structuring a research paper
Abstract, keywords, sections, appendices, and splitting a long document into files.
5 min read
Journal and conference templates
Switch to IEEE, Elsevier, Springer or ACM formats by changing the document class.
4 min read