[HOME] jsMath (Authors) [Prev][Up][Skip][Next]

The AMSmath Extension

The amsmath AMS-LaTeX package implements a number of macros and environments that are not not built into jsMath by default. The AMSmath 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 the loadFiles array

    loadFiles: ["extensions/AMSmath.js"],
in order to active the AMSmath extension. If you are using the autoload plugin instead of easy/load.js, you can set the jsMath.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 using easy/load.js or the autoload 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:

and the following environments:

Most of the remaining amsmath macros are already available in jsMath (including the various over- and underarrows, the various matr