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
AMSsymbolsExtensionmsam10andmsbm10fonts, which contain most of the AMS symbols, so these can be obtained within jsMath.To make it easier to access these characters, the
AMSsymbolsextension defines the control sequences for inserting these symbols into your documents. For example,\boxplusis 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. To activate them, include the command<SCRIPT> jsMath.Extension.Require("AMSsymbols"); </SCRIPT>in your HTML file after loading jsMath, or if you are using theeasy/load.jsfile, add"extensions/AMSsymbols.js"to theloadFilesarray:loadFiles: ["extensions/AMSsymbols.js"],Alternatively, you can use
<SPAN CLASS="math"> \require{AMSsymbols} </SPAN>to load the AMS symbols from within the typeset mathematics itself.Finally, if you are using the autoload plugin, you can set the
jsMath.Autoload.loadFilesarray to include"extensions/AMSsymbols.js"in order to have the extension loaded automatically when jsMath is needed.Note that the
AMSsymbolsextension 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 themsam10andmsbm10fonts from the extra-fonts download page; without these, the extension will not operate properly.See the symbols table for a complete list of symbols that are made available by this extension.
|
|