|
This extension adds several new commands to jsMath for handling arrows with symbols above or below them. These include: The
moreArrows
ExtensionEach 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
,\xleftarrow
,\xuprightharpoon
,\xupleftharpoon
,\xdownrightharpoon
, and\xdownleftharpoon
.\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 theloadFiles
array in youreasy/load.js
file:loadFiles: ["extensions/moreArrows.js"],If you are using the autoload plugin rather than
easy/load.js
, you can set thejsMath.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 usingeasy/load.js
or theautoload
plugin, then include the command<SCRIPT> jsMath.Extension.Require("moreArrows"); </SCRIPT>in your HTML file after loading jsMath. Alternatively, you can use<SPAN CLASS="math"> \require{moreArrows} </SPAN>to activate the extension from within the typeset mathematics itself.
|
|