Sarmate.net Sarmate.net
Home Features Pricing Documentation Contact
Log in Sign up
Interactive tutorial · free · no installation

Learn LaTeX, step by step — by compiling

Every concept comes with exercises you edit, fix and compile right on the page: the code, then the PDF, side by side. You see the result immediately.

0 / 12 lessons completed
Level 1

Level 1 — The basics

Write, compile and format your first document.

0 / 3
  1. 1 Your first documentCreate, compile and understand the structure of a minimal LaTeX document — right in your browser.
  2. 2 Format your textBold, italics, sections: structure and emphasize your text in LaTeX, with exercises to compile.
  3. 3 Write mathematicsInline formulas, displayed equations, fractions and exponents: math in LaTeX, step by step and interactive.
Level 2

Level 2 — Compile without errors

Choose the right compiler and avoid the most common errors.

0 / 3
  1. 1 Choose the right compilerpdfLaTeX, XeLaTeX or LuaLaTeX: which one, when, and how to fix the “fontspec requires XeLaTeX” error — hands-on, live.
  2. 2 Accents and special charactersUTF-8 encoding, inputenc/fontenc and the latin1 trap: type accents without trouble, in pdfLaTeX and XeLaTeX.
  3. 3 The preamble and packagesWhat the preamble is for, how to load extensions there, and why an unknown command often means a missing package.
Level 3

Level 3 — Real documents

Lists, images and tables: the building blocks of a real document.

0 / 4
  1. 1 ListsBulleted and numbered lists: itemize, enumerate and item, with exercises to compile.
  2. 2 Images and figuresThe figure environment, captions, and how to insert an image or draw a figure — with a link to the visual editor.
  3. 3 TablesCreate a table with tabular: columns, separators and rules — plus a visual editor to go faster.
  4. 4 Advanced mathematicsAligned equations, matrices and piecewise functions with amsmath: align, pmatrix, cases.
Level 4

Level 4 — Going further

Colours, boxes and figures: polish the presentation.

0 / 2
  1. 1 Colours and boxesColour text (xcolor) and create titled boxes (tcolorbox) — with a visual box editor.
  2. 2 Draw with TikZLines, shapes, axes and curves in TikZ — the basics of drawing in LaTeX, with a link to the visual editor.

More lessons and levels (images, tables, bibliography, TikZ…) are added regularly.