<math>\boldsymbol{\mathcal{A}\!_{\displaystyle \mathcal{M}} \!\mathcal{S}} \!\!\;\textbf{-} \boldsymbol{\mathsf{L\!\!^{{}_{\scriptstyle A}} \!\!\!\!\!\;\; T\!_{\displaystyle E} \! X}}</math>, written as AMS-LaTeX or AmS-LaTeX in plain text, is a collection of <math>\mathsf{L\!\!^{{}_{\scriptstyle A}} \!\!\!\!\!\;\; T\!_{\displaystyle E} \! X}</math> (LaTeX) document classes and packages developed for the American Mathematical Society (AMS). Its additions to LaTeX include the typesetting of multi-line and other mathematical statements, document classes, and fonts containing numerous mathematical symbols.[1] It has largely superseded the <math>\mathsf{plain \ T\!_{\displaystyle E} \! X}</math> (plain TeX) macro package <math>\mathcal{A}\!_{\displaystyle \mathcal{M}} \!\mathcal{S} \!\!\;\textrm{-} \mathsf{T\!_{\displaystyle E} \! X}</math> (AMS-TeX). AMS-TeX was originally written by Michael Spivak, and was used by the AMS from 1983 to 1985. The following code of the <math>\mathsf{L\!\!^{{}_{\scriptstyle A}} \!\!\!\!\!\;\; T\!_{\displaystyle E} \! X} \, \mathsf{2}_{\displaystyle \varepsilon}</math> (LaTeX2e) produces the AMS-LaTeX logo <math>\mathcal{A}\!_{\displaystyle \mathcal{M}} \!\mathcal{S} \!\!\;\textrm{-} \mathrm{L\!\!^{{}_{\scriptstyle A}} \!\!\!\!\!\;\; T\!_{\displaystyle E} \! X}</math>.
%%% -- AMS-LaTeX_logo.tex -------
\documentclass{article}
\usepackage{amsmath}
%\usepackage[psamsfonts]{amssymb}
\begin{document}
\AmS -\LaTeX
\end{document}
%%% +----1----+----2----+----3---
One of the most important features of the package is the ability to control the formatting of 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: <math>
\begin{align}
y &= (x+1)^2 \\
&= x^2+2x+1
\end{align}
</math>
References
- ^ George Gratzer (1996). Math into LaTeX. ISBN 0-8176-3805-9. Retrieved on 2007-10-08.


