The The
AMSmath
Extensionamsmath
AMSLaTeX package implements a number of macros and environments that are not not built into jsMath by default. TheAMSmath
extension to jsMath makes many of these available to you within your web pages.If you are using the
easy/load.js
file, add"extensions/AMSmath.js"
to theloadFiles
arrayloadFiles: ["extensions/AMSmath.js"],in order to active theAMSmath
extension. If you are using the autoload plugin instead ofeasy/load.js
, you can set thejsMath.Autoload.loadFiles
array to include"extensions/AMSmath.js"
in order to have the extension loaded automatically when jsMath is needed.If you are loading
jsMath.js
by hand rather than usingeasy/load.js
or theautoload
plugin, then include the command<SCRIPT> jsMath.Extension.Require("AMSmath"); </SCRIPT>in your HTML file after loading jsMath. Alternatively, you can use<SPAN CLASS="math"> \require{AMSmath} </SPAN>to load the AMS extensions from within your typeset mathematics itself.The
AMSmath
extension defines the following macros:
\iint
,\iiint
,\iiiint
,\idotsint
\dddot
,\ddddot
\sideset
(\underset
and\overset
are already included in jsMath)\stackrel
,\substack
\boxed
\varliminf
,\varlimsup
,\varinjlim
,\varprojlim
\frac
,\tfrac
,\dfrac
,\genfrac
\binom
,\dbinom
,\tbinom
\cfrac
\lvert
,\rvert
,\lVert
,\rVert
\pmb
and the following environments:
align
,align*
,aligned
multline
,multline*
split
gather
,gather*
,gathered
subarray
smallmatrix
Most of the remaining
amsmath
macros are already available in jsMath (including the various over and underarrows, the various matrix macros, and\boldsymbol
).The various symbols in the
msam10
andmsbm10
fonts are defined in theAMSsymbols
extension. TheAMSmath
extension does not load this automatically because the symbols require that you install those two fonts on your server; since not every installation makes them available, you must load theAMSsymbols
extension explicitly if you want to use the AMS symbol fonts.

