Building maths with AMS's LaTeX packages
What is AMS-LATEX
Basic LaTeX has a fairly wide range of capabilities for typesetting math material in straightforward documents. But you may need something more when complex displayed equations or more advanced math structures are often used. You may define new LaTeX control constructs (commands and environments) to make the typing formulas easier, but, basically, you shouldn’t. The amsmath package provided by the American Mathematical Society (AMS) makes the process easier and more consistent for you. It is, actually, the core package of the collection, AMS-LATEX. The material in this chapter is mainly dedicated to this package.
Building Maths with AMS’s LaTeX Packages (AMS-LaTeX)
While standard LaTeX handles straightforward mathematical expressions effectively, complex scientific documents often require multi-line equation alignment, structured matrices, specialized operators, and extended symbol sets. Developed by the American Mathematical Society (AMS), AMS-LaTeX provides a standardized collection of macro packages—led by amsmath, amssymb, and amsfonts—that eliminates the need for ad-hoc custom macros and ensures consistent, publication-grade mathematical typography.
Within Aspose.TeX for Java, core AMS-LaTeX packages are embedded directly in the Object TeX engine, enabling you to compile advanced mathematical notation inside Java applications without installing external TeX distributions or managing third-party package dependencies.
Why Use AMS-LaTeX Over Standard LaTeX Math?
Standard LaTeX display environments such as eqnarray suffer from inconsistent horizontal spacing around relation operators and limited line-breaking control. Loading \usepackage{amsmath} and \usepackage{amssymb} upgrades math typesetting with:
Semantic equation environments (
align, gather, multline, split) with automatic column alignment and flexible tag numbering.Dedicated matrix environments (
pmatrix, bmatrix, vmatrix, smallmatrix) that remove manual delimiter and column-specification boilerplate.Compound and extensible constructs for multi-line subscripts, stacked accents, horizontal arrows with labels, and modular arithmetic notation.
Expanded math alphabets and symbol catalogs, including Blackboard Bold (
\mathbb), Fraktur (\mathfrak), and hundreds of binary relations, operators, and arrows.
Core Topics Covered in This Chapter
The guides in this section introduce the architecture of AMS-LaTeX and walk through its equation structures, layout controls, math typefaces, and symbol sets:
Foundations and equation structures
Compound symbols, text and Fine layout control
Math typefaces and symbol references