jsMath (Authors)

# 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, add "extensions/moreArrows.js" to the loadFiles array in your easy/load.js file:

    loadFiles: ["extensions/moreArrows.js"],


If you are using the autoload plugin rather than easy/load.js, 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.

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("moreArrows");
</SCRIPT>

    <SPAN CLASS="math">

 jsMath web pages Created: 20 Mar 2006 Last modified: 13 Sep 2008 08:37:07 Comments to: dpvc@union.edu