jsMath (Authors)

# The boldsymbol Extension

The LaTeX \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 the loadFiles array in your easy/load.js file:

    loadFiles: ["extensions/boldsymbol.js"],


If you are using the autoload plugin instead of easy/load.js, you can set the jsMath.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 using easy/load.js or the autoload plugin, then include the command

    <SCRIPT>
jsMath.Extension.Require("boldsymbol");
</SCRIPT>

    <SPAN CLASS="math">

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 the cmmib10 and cmbsy10 fonts from the extra-fonts download page; without these, the extension will not operate properly. These fonts contain the same characters as the cmmi10 and cmsy10 fonts (see the symbol tables), but in bold form.
 jsMath web pages Created: 20 Mar 2006 Last modified: 13 Sep 2008 08:36:25 Comments to: dpvc@union.edu