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

The moreArrows Extension

This extension adds several new commands to jsMath for handling arrows with symbols above or below them. These include: \xrightarrow, \xleftarrow, \xuprightharpoon, \xupleftharpoon, \xdownrightharpoon, and \xdownleftharpoon. Each of these takes one argument, which is the item to be placed above the arrow, and each also takes an optional argument enclosed in brackets that will be placed below the arrow. For example, \xrightarrow[\alpha]{\beta} would make a right arrow with an alpha below it and a beta above it.

To activate the moreArrows extension, include the command

    <SCRIPT>
      jsMath.Extension.Require("moreArrows");
    </SCRIPT>
in your HTML file after loading jsMath, or if you are using the easy/load.js file, add "extensions/moreArrows.js" to the loadFiles array:
    loadFiles: ["extensions/moreArrows.js"],

Alternatively, you can use

    <SPAN CLASS="math">
      \require{moreArrows}
    </SPAN>
to activate the extension from within the typeset mathematics itself.

Finally, if you are using the autoload plugin, you can set the jsMath.Autoload.loadFiles array to include "extensions/moreArrows.js" in order to have the extension loaded automatically when jsMath is needed.


SourceForge.net Logo [HOME] jsMath web pages
Created: 20 Mar 2006
Last modified: 26 Mar 2008 11:58:18
Comments to: dpvc@union.edu
[Next] The verb Extension
[Skip] Browser Support for jsMath
[Up] Information for jsMath Authors
[Prev] The boldsymbol Extension