MathJax Font Help


MathJax will use the STIX fonts if they are installed on your computer.  This will improve MathJax’s speed when it typesets the mathematics on any page, so it is to your advantage to download and install one of these fonts, though MathJax will still work even if you don’t install the fonts yourself.

Obtaining the Fonts


To use the STIX fonts, download the latest version from the STIX web site and unpack the archive. You will find the fonts in the Fonts sub-folder of the STIX folder contained in the archive (they are the .otf files). Then follow the instructions below to install the fonts. Note that you should use an official release of the STIX fonts, not one of the earlier beta-test versions, which may not work properly with MathJax.

Installing the Fonts


To install the fonts, unpack the font archive and place the .otf or .ttf fonts into your system’s font folder. You may need to restart your browser in order for it to recognize that the new fonts are available.

In Windows, you can open the fonts folder using the “Start” menu’s “Control Panel” item, and select the “Fonts” folder. For example, in Windows XP, you can find the Fonts folder in the “Appearance and Themes” category (in the sidebar for that page), or you can use “Switch to Classical View” to find the “Fonts” folder. Drag the font files from their archive folder into the system Fonts folder to install them.

In Mac OS, open the Font Book application (it is in the Applications folder). Drag the fonts from their archive folder onto the “All Fonts” collection at the top left of the Font Book window. If you want to install them for everyone on your computer, drag them to the “Computer” collection instead. Alternatively, you can double-click on each font and select the “Install Font” button in the font window that appears.

In Linux or other unix systems, place the fonts in your ~/.fonts directory (create one if needed) and run the fc-cache -f command.

2 Responses to MathJax Font Help

  1. Trevor Hastie says:

    Is there any plan for getting mathjax into email?
    I use apple mail.

    Thanks

    Trevor Hastie

  2. Davide Cervone says:

    Most mail clients strip any javascript out of the mail before they display it, so it is unlikely that this can be made to work in something like Apple Mail. Apple Mail’s extension mechanism might possibly be used, but my understanding is that it is not well documented (I haven’t tried to use it), and I would guess that it would not be easy to do what is needed.

    Some browser-based mail readers can be made to use MathJax. See for example GmailTeX.

    Davide

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>