AMS-LaTeX

# AMS-LaTeX

Discussion

Encyclopedia
AMS-LaTeX is a collection of
LaTeX
LaTeX
LaTeX is a document markup language and document preparation system for the TeX typesetting program. Within the typesetting system, its name is styled as . The term LaTeX refers only to the language in which documents are written, not to the editor used to write those documents. In order to...

document classes and packages developed for the American Mathematical Society
American Mathematical Society
The American Mathematical Society is an association of professional mathematicians dedicated to the interests of mathematical research and scholarship, which it does with various publications and conferences as well as annual monetary awards and prizes to mathematicians.The society is one of the...

(AMS). Its additions to LaTeX include the typesetting of multi-line and other mathematical statements, document classes, and fonts containing numerous mathematical symbols.

It has largely superseded the
plain TeX
TeX
TeX is a typesetting system designed and mostly written by Donald Knuth and released in 1978. Within the typesetting system, its name is formatted as ....

macro package
AMS-TeX. AMS-TeX was originally written by Michael Spivak
Michael Spivak
Michael David Spivak is a mathematician specializing in differential geometry, an expositor of mathematics, and the founder of Publish-or-Perish Press. He is the author of the five-volume Comprehensive Introduction to Differential Geometry. He received a Ph.D...

, and was used by the AMS from 1983 to 1985.

The following code of the
LaTeX2e produces the AMS-LaTeX logo (
):

%%% -- AMS-LaTeX_logo.tex -------
\documentclass{article}
\usepackage{amsmath}

\begin{document}
\AmS-\LaTeX
\end{document}

The package has a suite of facilities to format multi-line equations. For example, the following
code,

\begin{align}
y &= (x+1)^2 \\
&= x^2+2x+1
\end{align}

causes the equals signs in the two lines to be aligned with one another, like this:

AMS-LaTeX also includes many flexible commands for formatting and numbering theorems, lemmas, etc. For example, one may use the environment theorem

\begin{theorem}[Pythagoras] Suppose $a\leq b\leq c$ are the side-lengths of a right triangle.
Then $a^2+b^2=c^2$.\end{theorem}
\begin{proof}. . . \end{proof}

to generate

Theorem (Pythagoras) Suppose are the side-lengths of a right triangle.
Then .

Proof. . . □