Version 3 is now the current version of MathJax. This document is for version 2.

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 MathJax.Hub.Config() call.

  "content-mathml": {
    collapsePlusMinus: true,
    cistyles: {
      vector: 'bold-italic',
      matrix: 'bold-upright'
    symbols: {
      gamma: '\u03B3'

These options allow the following.

collapsePlusMinus: true,

Specifies whether a Plus followed by a Minus is collapsed, e.g., a+(-b) simplified to a-b.

cistyles: {...}

Specifies which mathvariant to use with corresponding <ci> type attribute.

symbols: {...}

Specifies symbol names to translate to characters.

Further customization is possible by modifying its functions on the fly.