|
The standard fonts that are used with jsMath don't include the AMS symbols that are available with the AmSTeX file formats. The extra-fonts download page includes the The
AMSsymbols
Extensionmsam10
andmsbm10
fonts, which contain most of the AMS symbols, so these can be obtained within jsMath.To make it easier to access these characters, the
AMSsymbols
extension defines the control sequences for inserting these symbols into your documents. For example,\boxplus
is defined to produce a plus with a square box around it, just as it is in the AmSTeX formats. Because these fonts are not a standard part of jsMath, however, these control sequences are not defined by default.If you are using the
easy/load.js
file, add"extensions/AMSsymbols.js"
to theloadFiles
arrayloadFiles: ["extensions/AMSsymbols.js"],in order to active theAMSsymbols
extension. If you are using the autoload plugin instead ifeasy/load.js
, you can set thejsMath.Autoload.loadFiles
array to include"extensions/AMSsymbols.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("AMSsymbols"); </SCRIPT>in your HTML file after loading jsMath. Alternatively, you can use<SPAN CLASS="math"> \require{AMSsymbols} </SPAN>to load the AMS extensions from within your typeset mathematics itself.Note that the
AMSsymbols
extension does not load the AMS fonts until the first symbol is needed from the font, so it is not inefficient to load the extension even on pages where the AMS symbols may not be needed. In addition to loading the extension in your HTML page, you must also download and install themsam10
andmsbm10
fonts from the extra-fonts download page; without these, the extension will not operate properly. Note, however, that you should not load these fonts explicitly yourself (i.e., don't add them to theloadFonts
array in youreasy/load.js
file); theAMSsymbols
plugin will take care of loading them for you.See the symbols table for a complete list of symbols that are made available by this extension.
|
|