Math Mode
LaTeX excels at typesetting mathematical content. This reference covers math mode basics, symbols, equations, and advanced mathematical structures.Math Mode Basics
LaTeX has two math modes:Inline Math
Math within text:
Display Math
Math on separate lines with automatic centering
Entering Math Mode
Important: Text-mode commands don’t work in math mode. Use math-specific commands for formatting.
Basic Math Commands
Superscripts and Subscripts
Fractions
Roots
Greek Letters
Lowercase Greek
Uppercase Greek
Mathematical Operators
Binary Operators
Relational Operators
Arrows
Large Operators
Delimiters
Basic Delimiters
Automatic Sizing
Mathematical Environments
Single Equations
Multiple Equations
Matrices
Advanced Features
Text in Math Mode
Math Fonts
Spacing in Math
Theorems and Proofs
Common Constructions
Derivatives
Integrals
Sums and Products
Best Practices
Math typesetting tips:
- Use proper math mode - Never use text italic for math
- Choose appropriate environments -
align
for equations that should align - Label important equations - Use
\label{eq:descriptive-name}
- Use
\text{}
for words - Don’t write words directly in math mode - Let LaTeX handle spacing - Avoid manual spacing unless necessary
Quick Reference
Symbol | Command | Symbol | Command |
---|---|---|---|
± | \pm | ≤ | \leq |
× | \times | ≥ | \geq |
÷ | \div | ≠ | \neq |
∞ | \infty | ≈ | \approx |
∑ | \sum | ∈ | \in |
∫ | \int | ⊂ | \subset |
√ | \sqrt{} | ∪ | \cup |
α | \alpha | ∩ | \cap |
Next: Explore Lists and Enumerations or learn about Tables for data presentation.