Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

A package that facilitates the kind of theorem setup typically needed in American Mathematical Society publications. The package offers the theorem setup of the AMS document classes (amsart, amsbook, etc.) encapsulated in LaTeX package form so that it can be used with other document classes.

The amsthm package provides an enhanced version of LaTeX's \newtheorem command for defining theorem-like environments. The enhanced \newtheorem recognizes a \theoremstyle specification (as in Mittelbach's theorem package) and has a * form for defining unnumbered environments. The amsthm package also defines a proof environment that automatically adds a QED symbol at the end. AMS document classes incorporate the amsthm package, so everything described here applies to them as well.

If the amsthm package is used with a non-AMS document class and with the amsmath package, amsthm must be loaded after amsmath.

history | excerpt history