Quick Reference
The Ultimate
LaTeX Cheatsheet
Instantly find and copy exactly the command you need. Search across 89+ snippets for math symbols, formatting, document structure, and more.
| Command | Description | Category | Example Output | Copy |
|---|---|---|---|---|
\documentclass{...} | Defines the type of document (article, report, book) | Structure | - | |
\usepackage{...} | Loads a package to add functionality | Structure | - | |
\begin{document} | Starts the actual document content | Structure | - | |
\end{document} | Ends the document content | Structure | - | |
\title{...} | Sets the document title | Structure | - | |
\author{...} | Sets the document author | Structure | - | |
\date{...} | Sets the document date (use \today for current date) | Structure | - | |
\maketitle | Generates the title block | Structure | - | |
\tableofcontents | Generates a table of contents automatically | Structure | - | |
\section{...} | Creates a top-level section | Structure | - | |
\subsection{...} | Creates a second-level section | Structure | - | |
\subsubsection{...} | Creates a third-level section | Structure | - | |
\section*{...} | Creates an unnumbered section | Structure | - | |
\newpage | Forces a page break | Structure | - | |
\textbf{...} | Bold text | Formatting | - | |
\textit{...} | Italic text | Formatting | - | |
\underline{...} | Underlined text | Formatting | - | |
\emph{...} | Context-aware emphasis (toggles italics) | Formatting | - | |
\textsf{...} | Sans-serif font | Formatting | - | |
\texttt{...} | Monospace (typewriter) font | Formatting | - | |
\textsc{...} | Small caps font | Formatting | - | |
\\ | Forces a line break without starting a new paragraph | Formatting | - | |
\noindent | Prevents paragraph indentation | Formatting | - | |
\begin{itemize} | Starts a bulleted list | Environments | - | |
\begin{enumerate} | Starts a numbered list | Environments | - | |
\item | Adds a new item to a list | Environments | - | |
\begin{center} | Centers the text inside | Environments | - | |
\begin{flushleft} | Left-aligns the text | Environments | - | |
\begin{flushright} | Right-aligns the text | Environments | - | |
\begin{abstract} | Creates an abstract section | Environments | - | |
\begin{quote} | Formats a block quote | Environments | - | |
$ ... $ | Inline math mode | Math | - | |
\[ ... \] | Display math mode (centered on its own line) | Math | - | |
^{...} | Superscript (exponent) | Math | x^{2} | |
_{...} | Subscript | Math | x_{1} | |
\frac{num}{den} | Creates a fraction | Math | - | |
\sqrt{...} | Square root | Math | - | |
\sqrt[n]{...} | nth root | Math | \sqrt[3]{8} | |
\sum_{i=1}^{n} | Summation with limits | Math | - | |
\prod_{i=1}^{n} | Product with limits | Math | - | |
\int_{a}^{b} | Integral with limits | Math | - | |
\lim_{x \to \infty} | Limit | Math | - | |
\begin{pmatrix} | Matrix with parentheses | Math | - | |
\begin{bmatrix} | Matrix with square brackets | Math | - | |
\begin{vmatrix} | Determinant matrix (vertical lines) | Math | - | |
\begin{align} | Aligned multi-line equations (requires amsmath) | Math | - | |
\text{...} | Normal text inside math mode | Math | - | |
\alpha, \beta, \gamma | Lowercase Greek letters | Greek Letters | α, β, γ | |
\delta, \epsilon, \zeta | Lowercase Greek letters | Greek Letters | δ, ε, ζ | |
\eta, \theta, \iota | Lowercase Greek letters | Greek Letters | η, θ, ι | |
\kappa, \lambda, \mu | Lowercase Greek letters | Greek Letters | κ, λ, μ | |
\nu, \xi, \pi | Lowercase Greek letters | Greek Letters | ν, ξ, π | |
\rho, \sigma, \tau | Lowercase Greek letters | Greek Letters | ρ, σ, τ | |
\upsilon, \phi, \chi | Lowercase Greek letters | Greek Letters | υ, φ, χ | |
\psi, \omega | Lowercase Greek letters | Greek Letters | ψ, ω | |
\Gamma, \Delta, \Theta | Uppercase Greek letters | Greek Letters | Γ, Δ, Θ | |
\Lambda, \Xi, \Pi | Uppercase Greek letters | Greek Letters | Λ, Ξ, Π | |
\Sigma, \Phi, \Psi, \Omega | Uppercase Greek letters | Greek Letters | Σ, Φ, Ψ, Ω | |
\infty | Infinity symbol | Symbols | ∞ | |
\pm | Plus-minus | Symbols | ± | |
\mp | Minus-plus | Symbols | ∓ | |
\times | Multiplication cross | Symbols | × | |
\cdot | Multiplication dot | Symbols | · | |
\approx | Approximately equal | Symbols | ≈ | |
\neq | Not equal | Symbols | ≠ | |
\leq | Less than or equal | Symbols | ≤ | |
\geq | Greater than or equal | Symbols | ≥ | |
\equiv | Equivalent to | Symbols | ≡ | |
\to | Right arrow | Symbols | → | |
\leftarrow | Left arrow | Symbols | ← | |
\Rightarrow | Implies (thick right arrow) | Symbols | ⇒ | |
\iff | If and only if (thick double arrow) | Symbols | ⟺ | |
\in | Element of | Symbols | ∈ | |
\notin | Not element of | Symbols | ∉ | |
\subset | Subset of | Symbols | ⊂ | |
\cup | Union | Symbols | ∪ | |
\cap | Intersection | Symbols | ∩ | |
\nabla | Nabla (Gradient) | Symbols | ∇ | |
\partial | Partial derivative | Symbols | ∂ | |
\usepackage{graphicx} | Required package for inserting images | Graphics | - | |
\includegraphics[width=\textwidth]{...} | Inserts an image | Graphics | - | |
\begin{figure}[h] | Floating environment for images | Graphics | - | |
\caption{...} | Adds a caption to a figure or table | Graphics | - | |
\label{...} | Creates a marker for cross-referencing | References | - | |
\ref{...} | Refers to a label's number | References | - | |
\pageref{...} | Refers to the page number of a label | References | - | |
\cite{...} | Cites a bibliography entry | References | - | |
\bibliographystyle{...} | Sets the bibliography style (e.g., plain, apa) | References | - | |
\bibliography{...} | Generates the bibliography from a .bib file | References | - |