AMS-LaTeX
{{Short description|LaTeX additions for the American Mathematical Society}}
{{Infobox software
| name = AMS-LaTeX
| logo = File:AMS-LaTeX.svg
| developer =
| latest release version = AMS-LaTeX v2.20,
AMS-TeX v2.2,
AMSFonts v3.0
| programming language = LaTeX, TeX
| operating system = Unix-like, Windows
| genre = Computer library
| license = LaTeX Project Public License
| website = {{URL|https://www.ams.org/arc/resources/amslatex-about.html}}
}}
AMS-LaTeX is a collection of 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.{{cite book
| url = http://www.ctan.org/tex-archive/info/mil/mil.pdf
| title = Math into LaTeX
| author = George Gratzer
| year = 1996
| publisher = Springer
| isbn = 0-8176-3805-9
| accessdate = 2007-10-08
}}
It has largely superseded the plain TeX macro package AMS-TeX. AMS-TeX was originally written by Michael Spivak, and was used by the AMS from 1983 to 1985.
MathJax supports AMS-LaTeX through extensions.{{Cite web|url=http://docs.mathjax.org/en/latest/tex.html#supported-latex-commands|title=MathJax TeX and LaTeX Support — MathJax 2.7 documentation|website=docs.mathjax.org|language=en|access-date=2018-08-27|archive-url=https://web.archive.org/web/20181216163219/http://docs.mathjax.org/en/latest/tex.html#supported-latex-commands|archive-date=2018-12-16|url-status=dead}}
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:
:
\begin{align}
y &= (x+1)^2 \\
&= x^2+2x+1
\end{align}
AMS-LaTeX also includes many flexible commands for formatting and numbering theorems, lemmas, etc. For example, one may use the environment {{samp|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. . . □
See also
References
External links
- [http://www.ams.org/tex/ AMS TeX Resources]
- [https://web.archive.org/web/20060908235938/http://www.tex.ac.uk/cgi-bin/texfaq2html?label=AMSpkg TeX FAQ on AMS-TeX]
{{TeX navbox}}
{{LaTeX navbox}}
{{compu-library-stub}}
{{digital-typography-stub}}