The LaTeX The
boldsymbolExtension\boldsymbolcommand is not part of jsMath's default set of macros, because it requires a bold symbol and bold math font that are not part of the default jsMath font set. These fonts are available on the extra-fonts download page, however, and the\boldsymbolcommand can be added to jsMath to access these fonts.The
boldsymbolextension does just that. For example, once the extension is loaded,\boldsymbol{\alpha}will now produce a bold alpha.To activate the
\boldsymbolcommand, add"extensions/boldsymbol.js"to theloadFilesarray in youreasy/load.jsfile:loadFiles: ["extensions/boldsymbol.js"],If you are using the autoload plugin instead of
easy/load.js, you can set thejsMath.Autoload.loadFilesarray to include"extensions/boldsymbol.js"in order to have the extension loaded automatically when jsMath is needed.If you are loading
jsMath.jsby hand rather than usingeasy/load.jsor theautoloadplugin, then include the command<SCRIPT> jsMath.Extension.Require("boldsymbol"); </SCRIPT>in your HTML file after loading jsMath. Alternatively, you can use<SPAN CLASS="math"> \require{boldsymbol} </SPAN>to activate the command from within the typeset mathematics itself.Note that the
boldsymbolextension does not load the bold fonts until the first symbol is needed from the font, so it is not inefficient to load the extension even on pages where bold symbols may not be needed. In addition to loading the extension in your HTML page, you must also download and install thecmmib10andcmbsy10fonts from the extra-fonts download page; without these, the extension will not operate properly. These fonts contain the same characters as thecmmi10andcmsy10fonts (see the symbol tables), but in bold form.
|
|