The amsmath package is a cornerstone in LaTeX, offering a plethora of new environments and commands tailored for mathematical typesetting. It is part of a comprehensive suite of packages dedicated to mathematical typesetting, providing significant enhancements over standard LaTeX functionality.
Package Inclusion
The amsmath package automatically includes additional packages from the AMS series (amstext, amsbsy, and amsopn).
Options
The package offers 12 options, with five set as defaults:
- centertags (default): Vertically centers equation numbers within the split environment.
- tbtags: Aligns equation numbers at the last (or first) line in the split environment.
- sumlimits (default): Places limits over the summation symbol in displayed equations.
- nosumlimits: Places limits next to the summation symbol in displayed equations.
- nointlimits (default): Places limits above and below the integral symbol in displayed equations.
- ...
Commands
The package introduces several commands for enhancing mathematical typesetting:
- \text{Text}: Allows inclusion of normal text within math environments.
- \intertext{Text}: Inserts text between aligned equations.
- \displaybreak[Option]: Controls page breaks within equation environments.
- \operatorname{NewOperator}: Defines new mathematical operators.
- ...
Math Fonts
The amsmath package offers options for formatting mathematical symbols in bold:
- \boldsymbol{Symbols and Variables}: Boldens symbols and variables.
- \pmb{Symbols and Variables}: Boldens symbols, variables, and regular text.
Size Adjustments
Shortcuts are provided for displaystyle and textstyle sizes:
- \dfrac{num}{den}: Compact fraction in displaystyle.
- \tfrac{num}{den}: Compact fraction in textstyle.
- ...
New Commands
The package introduces new commands and environments:
- binom: Binomial coefficient command.
- C-Fractions: Continued fraction representation.
- Stacked: Stacked symbols.
- Arrows: Various arrow commands.
- ...
Environments
Explore new environments for typesetting equations:
- Equation: Single-line equation environment.
- Align: Aligned equation environment.
- Gather: Centered equation environment.
- Flalign: Loosely aligned equation environment.
- ...