GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing developer.mozilla.org — Fonts for MathML - MathML | MDN Fonts for MathMLFonts with appropriate Unicode coverage and Open Font Format features are required for good math rendering. This page describes how users can install such math fonts to properly display MathML in browsers. Installation instructionsAs a general rule of thumb, it is recommended to install both Latin Modern Math (which uses Computer Modern style popular for math formulas) and STIX Two Math (which has large unicode coverage for scientific characters). In the next sections, you will find detailed instructions to install these fonts in various operating systems. WindowsInstall the Latin Modern Math and STIX Two Math fonts as follows:
Note: Cambria Math is installed by default on Windows and should ensure relatively good MathML rendering. macOSInstall the Latin Modern Math font as follows:
Note: If you are using macOS Ventura (version 13) or higher, then STIX Two Math is already pre-installed and you can skip the steps below. Install the STIX Two Math font as follows:
Note: A deprecated version of STIX is preinstalled starting with OS X Lion (version 10.7). Although some browsers are able to make use of it, it is strongly recommended to follow the instructions above for optimal math rendering. LinuxBelow, you can find commands to execute on popular Linux distributions in order to install the Latin Modern Math and STIX Two Math fonts from your package manager. Alternative approaches are also provided if your Linux distribution does not provide dedicated packages for these fonts. Debian-based distributions (including Ubuntu and Mint)bash Note:
Up until Debian 13 and Ubuntu 24, the Fedora-based distributionsbash openSUSE-based distributionsbash Arch Linuxbash TeXLive packagesIf your Linux distribution does not provide packages for the Latin Modern Math and STIX fonts, consider instead installing the bash However, you will likely need to ensure that these fonts are known by your system. Add a fontconfig configuration xml Finally, add this configuration file to the system font location list and regenerate the fontconfig cache: bash Upstream packagesIf no packages are available on your Linux distributions, or if you just want to install upstream packages then try this:
AndroidYou must use the MathML-fonts add-on. Noto Sans Math provides good Unicode coverage for math symbols and math layout. Other systemsOn other systems, consider installing a font with a MATH table using your package manager. Note that these fonts are generally delivered with TeX distributions such as TeX Live, but you might need to follow specific instructions so that your system is aware of the fonts. As a last resort, install the MathML fonts add-on. Advanced setupIn the next sections, you will find other useful tips for installation and configuration of fonts for MathML. Arabic mathematical alphabetic symbolsCurrently, very few fonts have appropriate glyphs for the Arabic Mathematical Alphabetic Symbols. If you are likely to need these characters, we recommend to install the XITS or Amiri fonts. Installation without administrator privilegeIf you need to install fonts on a system without administrator privilege, the easiest option is to use math font the MathML-fonts add-on. Note that using the add-on is not optimal since it forces your Gecko browser to load a CSS stylesheet on each page you visit as well as Web math fonts on all pages with MathML content. A better alternative on UNIX systems is to install the OTF files for Latin Modern Math and STIX into some local font folder and (if necessary) to run Fonts with a MATH tableYou can actually install any mathematical OpenType font and use them for MathML rendering. Some browsers provide a way to configure the default font for MathML in their font preference menu. Alternatively, you can try the MathML Font Settings add-on. |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |