Skip to main content
This reference covers the most important LaTeX packages organized by functionality. Each entry includes the package purpose, basic usage, and practical examples.
Package installation: LaTeX Cloud Studio includes all standard packages. No installation needed - just use \usepackage{packagename}.

Essential Packages

Core Document Setup

Page Layout

geometry

Controls page dimensions and margins.

fancyhdr

Custom headers and footers.

Mathematics Packages

amsmath

Extended math environments and commands.

amssymb

Additional mathematical symbols.

amsthm

Theorem environments.

mathtools

Enhanced version of amsmath.

Graphics and Figures

graphicx

Standard package for including graphics.

subcaption

Create subfigures and subtables.

tikz

Powerful graphics creation.

Tables

booktabs

Professional table formatting.

array

Enhanced array and tabular environments.

longtable

Tables spanning multiple pages.

Bibliography and Citations

biblatex

Modern bibliography management.

natbib

Traditional bibliography package.

Lists

enumitem

Customizable lists.

Code and Verbatim

listings

Code listings with syntax highlighting.

minted

Advanced syntax highlighting.

verbatim

Enhanced verbatim environments.

Fonts and Typography

fontspec

Modern font selection (XeLaTeX/LuaLaTeX).

microtype

Typography refinements.

Cross-references

hyperref

Hyperlinks and PDF features.

cleveref

Intelligent cross-referencing.

Specialized Packages

siunitx

Scientific units and numbers.

algorithm2e

Algorithm pseudocode.

mhchem

Chemical formulas and equations.

Layout and Formatting

multicol

Multiple column layouts.

setspace

Line spacing control.

parskip

Paragraph spacing without indentation.

Package Management Tips

Loading Order

Important package loading order:
  1. Font encoding: inputenc, fontenc
  2. Language: babel, polyglossia
  3. Fonts: lmodern, fontspec
  4. Math: amsmath, amssymb, mathtools
  5. Graphics: graphicx, tikz
  6. Tables: booktabs, longtable
  7. Bibliography: biblatex, natbib
  8. Cross-references: cleveref, hyperref (load last)

Common Conflicts

Quick Reference

Most Used Packages

Essential

amsmath graphicx hyperref geometry babel

Typography

microtype setspace parskip fontspec lmodern

Tables

booktabs array longtable multirow tabularx

Bibliography

biblatex natbib cite apacite chicago

Math

amssymb amsthm mathtools siunitx physics

Code

listings minted verbatim algorithm2e pseudocode

Deep-Dive Guides


Need help choosing packages? Check our Package Management Guide for recommendations based on document type and field.

Start in LaTeX Cloud Studio

Open in LaTeX Cloud Studio

Write, compile, and iterate directly in your browser.

Start from Article Template

Use a ready-made template, then adapt it to your content.