4. MathML preferences
Prev |  | Next

## 4. MathML preferences

Installing the MathML add-on adds a MathML preference sheet to the Preferences dialog box (Options → Preferences). This preference sheet allows you to specify which fonts are to be used when rendering MathML.

Figure 4. The MathML preference sheet

Notice that, by default, the standard Java™ logical fonts (Serif, SansSerif, Monospaced) are also used to render the MathML elements.

There are situations where you'll want to change the above mapping. For example, on the Mac, the Serif logical font is mapped to the Times physical font and this font is intrinsically too small. In such case, you may use the "Choose font from list" button found at the right of each font field. This button displays a list allowing you to choose any True Type font installed on your system.

Figure 5. Dialog box displayed by the "Choose font from list" button

Alternatively, you may use the "Choose font file" button found at the very right of each font field. This button displays the standard file chooser which allows you to specify any `.ttf` font file, whether this font has been installed or not on your system.

### 4.1. Bundled math fonts

The MathML add-on is bundled with the following math fonts:

Logical MathML Font | Bundled Font (found in ``mathml_addon_install_dir`/fonts/`) | Origin
--- | --- | ---
normal | `DejaVuSerif.ttf` | DejaVu
bold | `DejaVuSerif-Bold.ttf`
italic | `DejaVuSerif-Italic.ttf`
bold-italic | `DejaVuSerif-BoldItalic.ttf`
sans-serif | `DejaVuSans.ttf`
bold-sans-serif | `DejaVuSans-Bold.ttf`
sans-serif-italic | `DejaVuSans-Oblique.ttf`
sans-serif-bold-italic | `DejaVuSans-BoldOblique.ttf`
monospace | `DejaVuSansMono.ttf`
fraktur | `eufm10.ttf` | AMS
bold-fraktur | `eufb10.ttf`
script | `eusm10.ttf`
bold-script | `eusb10.ttf`
double-struck | `msbm10.ttf`

If you want to use the all above bundled fonts, simply click on the "Use bundled fonts" button. If you don't like the bundled fonts and want to restore the default settings, click on the Reset button.

Note that the DejaVu fonts are really good looking but lack some glyphs found in the default fonts. The AMS fonts contain very few glyphs, mainly "`a`" to "`z`", "`A`" to "`Z`" and "`0`" to "`9`".

Prev |  | Next
3. Using the MathML tool | Home | A. Conformance with the MathML 2 W3C standard