This extension allows jsMath to detext when mathematics appears within <B>...</B> tags (or in a region where the CSS styles have set The
autoboldExtensionfont-weight:bold) and will automatially apply the\boldsymbolcommand to the mathematics. The result should be that mathematics will respect the HTML bolding automatically.Since the
\boldsymbolextension requires thecmmib10andcmbsy10fonts, which are not part of the basic fonts distributed with jsMath, you will need to install those fonts before using theautoboldextension. See theboldsymboldocumentation for more details.To activate the
autoboldextension, include the command<SCRIPT> jsMath.Extension.Require("autobold"); </SCRIPT>in your HTML file after loading jsMath, or if you are using theeasy/load.jsfile, add"extensions/autobold.js"to theloadFilesarray:loadFiles: ["extensions/autobold.js"],Alternatively, you can use
<SPAN CLASS="math"> \require{autobold} </SPAN>to activate the extension from within the typeset mathematics itself.Finally, if you are using the autoload plugin, you can set the
jsMath.Autoload.loadFilesarray to include"extensions/autobold.js"in order to have the extension loaded automatically when jsMath is needed.
|
|