|
The LaTeX The
boldsymbol
Extension\boldsymbol
command 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\boldsymbol
command can be added to jsMath to access these fonts.The
boldsymbol
extension does just that. For example, once the extension is loaded,\boldsymbol{\alpha}
will now produce a bold alpha.To activate the
\boldsymbol
command, add"extensions/boldsymbol.js"
to theloadFiles
array in youreasy/load.js
file:loadFiles: ["extensions/boldsymbol.js"],If you are using the autoload plugin instead of
easy/load.js
, you can set thejsMath.Autoload.loadFiles
array to include"extensions/boldsymbol.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("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
boldsymbol
extension 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 thecmmib10
andcmbsy10
fonts from the extra-fonts download page; without these, the extension will not operate properly. These fonts contain the same characters as thecmmi10
andcmsy10
fonts (see the symbol tables), but in bold form.
|
|