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

The NativeMML output processor

The options below control the operation of the NativeMML output processor that is run when you include "output/NativeMML" in the jax array of your configuration. They are listed with their default values. To set any of these options, include a NativeMML section in your MathJax.Hub.Config() call. For example

  NativeMML: {
    scale: 105

would set the scale option to 105 percent.

scale: 100

The scaling factor (as a percentage) of math with respect to the surrounding text. Since the NativeMML output relies on the browser’s native MathML support, MathJax does not control the font size used in the mathematics. You may need to set this value to compensate for the size selected by the browser. The user can also adjust this value using the contextual menu item associated with the typeset mathematics.

showMathMath: true

This controls whether the MathJax contextual menu will be available on the mathematics in the page. If true, then right-clicking (on the PC) or control-clicking (on the Mac) will produce a MathJax menu that allows you to get the source of the mathematics in various formats, change the size of the mathematics relative to the surrounding text, get information about MathJax, and configure other MathJax settings.

Set this to false to disable the menu. When true, the MathMenu configuration block determines the operation of the menu. See the MathMenu options for more details.

showMathMenuMSIE: true

There is a separate menu setting for MSIE since the code to handle that is a bit delicate; if it turns out to have unexpected consequences, you can turn it off without turning off the menu support in other browsers.

styles: {}

This is a list of CSS declarations for styling the HTML-CSS output. See the definitions in jax/output/NativeMML/config.js for some examples of what are defined by default. See CSS Style Objects for details on how to specify CSS style in a JavaScript object.