[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. To activate them, include the command
    <SCRIPT>
      jsMath.Extension.Require("AMSmath");
    </SCRIPT>
in your HTML file after loading jsMath, or if you are using the easy/load.js file, add "extensions/AMSmath.js" to the loadFiles array:
    loadFiles: ["extensions/AMSmath.js"],

Alternatively, you can use

    <SPAN CLASS="math">
      \require{AMSmath}
    </SPAN>
to load the AMS extensions from within your typeset mathematics itself.

Finally, if you are using the autoload plugin, 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.

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 matrix macros, and \boldsymbol).

The various symbols in the msam10 and msbm10 fonts are defined in the AMSsymbols extension. The AMSmath 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 the AMSsymbols extension explicitly if you want to use the AMS symbol fonts.


SourceForge.net Logo [HOME] jsMath web pages
Created: 20 Mar 2006
Last modified: Mar 26, 2008 10:59:21 AM
Comments to: dpvc@union.edu
[Next] The AMSsymbols Extension
[Skip] Browser Support for jsMath
[Up] Information for jsMath Authors
[Prev] The spriteImageFonts plugin