/usr/share/doc/libjs-mathjax-doc/html/_sources/options/extensions/Content-MathML.rst.txt is in libjs-mathjax-doc 2.7+20171212-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | .. _configure-Content-MathML:
****************************
The Content MathML extension
****************************
The options below control the operation of the Content MathML extension
that is run when you include ``"MathML/content-mathml.js"`` in the `extension`
array of your configuration. They are listed with their default values. To
set any of these options, include a ``Content-MathML`` section in your
:meth:`MathJax.Hub.Config()` call.
.. code-block:: javascript
MathJax.Hub.Config({
"content-mathml": {
collapsePlusMinus: true,
cistyles: {
vector: 'bold-italic',
matrix: 'bold-upright'
},
symbols: {
gamma: '\u03B3'
}
}
});
These options allow the following.
.. describe:: collapsePlusMinus: true,
Specifies whether a Plus followed by a Minus is collapsed, e.g.,
`a+(-b)` simplified to `a-b`.
.. describe:: cistyles: {...}
Specifies which mathvariant to use with corresponding <ci> type attribute.
.. describe:: symbols: {...}
Specifies symbol names to translate to characters.
Further customization is possible by modifying its functions on the fly.
|