Skip to content
Tutorials Center
My learning

Topics

LaTeX Tutorial

Learn LaTeX step by step: 38 lessons in 9 chapters with examples, quizzes, diagrams and projects.

Start learning →

of lessons completed

Getting Started

  1. 1 What Is LaTeX? Learn what LaTeX is, how it differs from Word-style editors, why scientists and students love it, and how the source, compiler and PDF fit together.
  2. 2 Installing LaTeX and Choosing an Editor Choose how to run LaTeX: online with Overleaf or locally with TeX Live, MiKTeX or MacTeX, plus editors such as TeXstudio and VS Code with LaTeX Workshop.
  3. 3 Your First LaTeX Document Write and understand a complete LaTeX file line by line: commands, arguments, environments, comments, paragraphs, whitespace rules and how to compile it.
  4. 4 Document Classes and the Preamble Learn how \documentclass and its options work, how article, report, book, letter and beamer differ, and how to load packages and set metadata in the preamble.

Documents and Text Formatting

  1. 5 Text Formatting: Bold, Italic and Emphasis Format text in LaTeX with \textbf, \textit, \emph, \texttt, \textsc and \underline, learn semantic emphasis, nesting rules, alignment, quotes and verbatim code.
  2. 6 Fonts, Sizes and Spacing Change font sizes with \large and \small, understand font families, shapes and weights, set line spacing and paragraph spacing, and add horizontal and vertical space.
  3. 7 Sections, Title Pages and Table of Contents Structure a LaTeX document with sections and subsections, build a title block and abstract, generate a table of contents, and control numbering, appendices and chapters.
  4. 8 Page Layout and Margins with geometry Control paper size, margins, orientation, columns, headers, footers and page numbering in LaTeX with the geometry, multicol and fancyhdr packages, with working examples.
  5. 9 Special Characters, Accents and Symbols Type reserved characters, accented letters, ligatures, dashes, currency and text symbols in LaTeX, and learn how UTF-8, textcomp and the Unicode engines change the rules.

Math Typesetting

  1. 10 Math Modes: Inline and Display Formulas Start typesetting math in LaTeX: inline and display modes, superscripts, subscripts, grouping with braces, text inside formulas, spacing, and the equation environment.
  2. 11 Math Symbols and Greek Letters A guide to LaTeX math symbols: Greek letters, operators, relations, arrows, logic and set symbols, math alphabets such as \mathbb, accents and how to find any symbol.
  3. 12 Fractions, Roots, Sums and Integrals Typeset fractions, roots, sums, products, integrals, limits and binomials in LaTeX, control limits placement and sizes with \displaystyle, \dfrac and \tfrac, with examples.
  4. 13 Matrices, Arrays and Delimiters Write matrices with pmatrix, bmatrix and vmatrix, build grids with array, define piecewise functions with cases, and size brackets with \left, \right and \big commands.
  5. 14 Aligning and Numbering Equations Align multi-line equations with align, aligned, gather, split and multline, control equation numbers with \tag, \nonumber and \label, and avoid the common amsmath mistakes.

Tables, Figures and Lists

  1. 15 Lists in LaTeX Create bullet, numbered and description lists in LaTeX with itemize, enumerate and description, nest them, change labels and spacing with enumitem, and avoid common mistakes.
  2. 16 Tables in LaTeX Build LaTeX tables with tabular, column alignment, \hline and booktabs rules, \multicolumn and \multirow, fixed-width columns with p{} and tabularx, long tables and good style.
  3. 17 Images and Figures Insert images in LaTeX with graphicx and \includegraphics, set width, height, scale, rotation and trimming, choose file formats, place images side by side and organise figure folders.
  4. 18 Floats, Captions and Placement Understand LaTeX floats: the figure and table environments, captions and labels, placement specifiers h t b p and !, the float package H, lists of figures and tables, and how to stop figures from drifting.

Cross-references and Bibliographies

  1. 19 Labels and Cross-references Number sections, figures, tables and equations automatically, then refer to them with \label, \ref, \eqref, \pageref and cleveref, without ever typing a number.
  2. 20 BibTeX Basics: Citations and .bib Files Keep your references in a .bib file, cite them with \cite, pick a bibliography style and run BibTeX to produce a formatted reference list.
  3. 21 biblatex and Biber: Modern Bibliographies Use biblatex and Biber for flexible citation styles, \autocite, \printbibliography, multiple bibliographies, URLs and Unicode, and learn when to choose it over BibTeX.
  4. 22 Table of Contents, Index and Glossaries Generate a table of contents, list of figures, subject index and glossary in LaTeX with \tableofcontents, makeindex and the glossaries package.

Packages and Templates

  1. 23 Using Packages in LaTeX Learn how \usepackage works, how to pass options, install packages with TeX Live or MiKTeX, avoid option clashes and choose a sensible set of essential packages.
  2. 24 Custom Commands and Environments Define your own commands and environments with \newcommand, \renewcommand, \newenvironment and \DeclareMathOperator, and keep them tidy in a style file.
  3. 25 Page Layout, Headers, Footers and Fonts Control margins with geometry, headers and footers with fancyhdr, line spacing, colours and fonts in LaTeX, including pdfLaTeX versus XeLaTeX font choices.
  4. 26 Document Templates: Articles, Reports, Books and Journals Compare the article, report, book and memoir classes, set up a reusable template and learn how journal and thesis templates are structured and customised.

TikZ and Graphics

  1. 27 TikZ Basics: Drawing in LaTeX Start drawing with TikZ: the tikzpicture environment, coordinates, \draw, lines, circles, arcs, curves, colours, line styles and arrows, with a live SVG stand-in.
  2. 28 TikZ Nodes and Diagrams Build flowcharts and graphs with TikZ nodes: shapes, text, anchors, the positioning library, edges, named nodes, matrices and trees.
  3. 29 TikZ Loops, Styles and Libraries Repeat drawing with \foreach, define reusable TikZ styles, compute points with the calc library, and use decorations, shadows, layers and external caching.
  4. 30 Charts and Plots with PGFPlots Plot functions, data tables and CSV files in LaTeX with PGFPlots: axes, legends, bar charts, 3D surfaces, scientific styles and tips for consistent figures.

Beamer, Tooling and Workflows

  1. 31 Beamer Basics: Slides with LaTeX Make presentation slides with the Beamer class: frames, title page, blocks, lists, columns, images, code and handouts, with a stand-in that previews frame layout.
  2. 32 Beamer Overlays, Themes and Animation Reveal slide content step by step with \pause, <1-> overlay specifications and \only, \uncover and \onslide, then choose and customise Beamer themes and colours.
  3. 33 TeX Engines, latexmk and Fixing Errors Choose between pdfLaTeX, XeLaTeX and LuaLaTeX, automate builds with latexmk, read the log file and fix the most common LaTeX errors and warnings.
  4. 34 Version Control and Collaboration for LaTeX Keep LaTeX projects in Git, ignore build files, write diff-friendly source, compare versions with latexdiff, collaborate on Overleaf and build PDFs in continuous integration.

Projects and Practice

  1. 35 Project: A One-page Resume in LaTeX Build a one-page resume or CV step by step: page setup, header, sections, custom commands, links, a data-driven generator and tips for applicant tracking systems.
  2. 36 Project: Write a Research Paper in LaTeX Put it all together: structure a research paper with abstract, equations, figures, tables, biblatex citations and cross-references, then check it before submission.
  3. 37 Project: Structure a Thesis or Book Plan and build a thesis in LaTeX: front matter, chapter files, appendices, bibliography per chapter, headers, list of figures and a build setup that scales.
  4. 38 LaTeX Practice Exercises: References, Packages, TikZ, Beamer Test your LaTeX skills with graded exercises on cross-references, bibliographies, macros, TikZ, Beamer and debugging, each with a worked solution.