Extension:Math/advancedSettings/es

The Math extension provides support for rendering mathematical formulas on-wiki via and other backends. An overview of what can currently be done with this extension is found at the English Wikipedia's documentation.

Server-side rendering with Mathoid
Beginning from MW 1.23+ you can use a Mathoid server that uses MathJax to convert texvc input on the server side to MathML+SVG rendering. Mathoid is the rendering mode that is going to be used on future Wikipedia. For that the following settings are recommended:

Check out Mathoid to find instructions how to run your own Mathoid server. After enabling the MathML rendering mode you have to run the database update script again to create the required table.

Server-side rendering with LaTeXML
A convenient option to render LaTeX is to use the LaTeXML web service. This service converts LaTeX to high quality MathML.


 * Settings (MW 1.22) most or all of the 1.23+ settings also work


 * Settings (MW 1.23+)

A short guide to install LaTeXML on your own server can be found here: Install LaTeXML

After enabling the LaTeXML rendering mode you have to run the database update script again to create the required table.

Historical note
texvc used to be a rendering option before version 1.32. It is now completely replaced by Mathoid, but the subset of AMS-LaTeX it supports remains the basis of this extension.

List of all configuration settings
The following variables can be defined in LocalSettings.php after calling :

CSS for the MathML with SVG fallback mode
By default, MathML is only exposed to accessibility tools. However, you can force visual rendering with the following MediaWiki stylesheets:

You can then easily change the style of MathML formulas e.g. to set the math font:

CSS for dark background
The Extension always renders formulae in black text by default, which can throw off users and wikis running a dark background color. A skin author can add the following code to invert the lightness of formula images using CSS filters: