Combined Components

Currently there are eight combined components, whose contents are described below:

The combined components include everything needed to run MathJax in your web pages. Each includes at least one input processor, an output processor, the data needed for the MathJax TeX font, the contextual menu code, and the startup component.

Unlike the other components, these combined components should be loaded directly via a <script> tag, not through the load array in your MathJax configuration. So a typical use would be

<script>
MathJax = {
  // your configuration here, if needed
};
</script>
<script type="text/javascript" id="MathJax-script" async
  src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js">
</script>

to load the tex-chtml component, for example.


tex-chtml

The tex-chtml component loads the input/tex component and the output/chtml, along with the contextual menu component, and the startup component.

The input/tex component loads the ams, newcommand, require, autoload, configMacros, and noundefined extensions, which that means most other extensions will be loaded automatically when needed, or you can use the \require macro to load them explicitly.


tex-chtml-full

The tex-chtml-full component loads the input/tex-full component and the output/chtml, along with the contextual menu component, and the startup component.

The input/tex-full component loads the the code for all the TeX extensions, and configures TeX to use all but the physics and colorV2 extensions.


tex-svg

The tex-svg component loads the input/tex component and the output/svg, along with the contextual menu component, and the startup component.

The input/tex component loads the ams, newcommand, require, autoload, configMacros, and noundefined extensions, which that means most other extensions will be loaded automatically when needed, or you can use the \require macro to load them explicitly.


tex-svg-full

The tex-svg-full component loads the input/tex-full component and the output/svg, along with the contextual menu component, and the startup component.

The input/tex-full component loads the the code for all the TeX extensions, and configures TeX to use all but the physics and colorV2 extensions.


tex-mml-chtml

The tex-mml-chtml component loads the input/tex and input/mathml components and the output/chtml, along with the contextual menu component, and the startup component.

The input/tex component loads the ams, newcommand, require, autoload, configMacros, and noundefined extensions, which that means most other extensions will be loaded automatically when needed, or you can use the \require macro to load them explicitly.


tex-mml-svg

The tex-mml-svg component loads the input/tex and input/mathml components and the output/svg, along with the contextual menu component, and the startup component.

The input/tex component loads the ams, newcommand, require, autoload, configMacros, and noundefined extensions, which that means most other extensions will be loaded automatically when needed, or you can use the \require macro to load them explicitly.


mml-chtml

The mml-chtml component loads the input/mathml component and the output/chtml, along with the contextual menu component, and the startup component.


mml-svg

The mml-svg component loads the input/mathml component and the output/svg, along with the contextual menu component, and the startup component.