Math Symbols in LaTeX
The Authoritative Reference for LaTeX Math Mode & amsmath
Published as part of our comprehensive math symbols knowledge repository. Everything you need to write professional mathematical publications in LaTeX, including inline/display modes, amsmath matrices, alignments, and packages.
1. Math Modes in LaTeX
LaTeX separates mathematical typesetting into two modes:
- **Inline Mode**: `$f(x) = x^2$` for equations nestled within running body text.
- **Display Mode**: `$$ ... $$` or `\[ ... \]` for centered equations on their own dedicated line.
2. Key Packages to Always Include
Always include the American Mathematical Society (AMS) packages in your document preamble:
Syntax / Code Example
\documentclass{article}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{amsfonts}
\usepackage{mathtools} 3. Common LaTeX Math Constructs
Quick reference for multi-line and advanced mathematical structures:
Syntax / Code Example
% Multi-line aligned equation
\begin{align}
f(x) &= \int_{0}^{\infty} e^{-t} t^{x-1} dt \\
\Gamma(n) &= (n-1)!
\end{align}
% Matrix typesetting
\begin{pmatrix}
a & b \\
c & d
\end{pmatrix} Help & Insights
Math Symbols in LaTeX Frequently Asked Questions
What are the most essential LaTeX packages for mathematical formulas?
Include \usepackage{amsmath, amssymb, amsfonts, mathtools} in your document preamble. This grants access to advanced environments (align, bmatrix) and standard symbol collections (\mathbb{R}, \subseteq, \nabla).
What is the difference between inline math ($...$) and display math (\[...\])?
Inline math ($...$) formats formulas within a paragraph of text without altering line spacing. Display math (\[...\] or equation environment) centers the equation on its own line in full size.