STIX fonts not recognized by MathJax after installation

1 reply · 3K views · last reply
Oats
Messages
11
Reaction score
1
Hello,
Every website that I go on that has MathJax support displays math in a font that almost looks like the default Computer Modern ##\LaTeX## font. The following is taken from Math Stack Exchange:

Screenshot of a proof exercise: Exercise 3.3.7 on continuity and boundedness, followed by a written proof of the statement, with inline math.


I heard that MathJax usually looks for the STIX font located on your computer, and if it does not find it, it will instead resort to the above font. Now, I actually ##\textit{want}## to use STIX font, so I went ahead and downloaded the STIX font package on their website. I got a file with the following contents:

Windows Explorer window titled Downloads library, showing the STIXv2.0.0 folder with two subfolders: docs and Fonts, both File folder type, modified 11/24/2017.


The docs folder only had documentation. Inside the Fonts folder was:

Windows Explorer window titled Downloads library, showing three folders named OTF, WOFF and WOFF2, all with the same modified date of 11/24/2017.


And inside the OTF folder, which is supposedly what I am supposed to use (the others contained webfonts that I don't know how to open nor what to do with), there is:

Windows Explorer folder listing of five OpenType font files: STIX2Math, STIX2Text-Bold, STIX2Text-BoldItalic, STIX2Text-Italic and STIX2Text-Regular, with dates and sizes.


I opened each and installed the fonts seen here, and they appear as such in the control panel fonts section. However, even after restarting my computer, any website with MathJax does not use STIX fonts.
Can anyone help? Is there something I am doing wrong? Thanks in advance for any response.
 
Attachments
  • Screenshot of a proof exercise: Exercise 3.3.7 on continuity and boundedness, followed by a written proof of the statement, with inline math.
    Capture.PNG
    12.7 KB · Views: 1,648
  • Windows Explorer window titled Downloads library, showing the STIXv2.0.0 folder with two subfolders: docs and Fonts, both File folder type, modified 11/24/2017.
    Capture1.PNG
    13.5 KB · Views: 840
  • Windows Explorer window titled Downloads library, showing three folders named OTF, WOFF and WOFF2, all with the same modified date of 11/24/2017.
    Capture2.PNG
    14.6 KB · Views: 768
  • Windows Explorer folder listing of five OpenType font files: STIX2Math, STIX2Text-Bold, STIX2Text-BoldItalic, STIX2Text-Italic and STIX2Text-Regular, with dates and sizes.
    Capture3.PNG
    8.8 KB · Views: 844
Oats said:
However, even after restarting my computer, any website with MathJax does not use STIX fonts.
Depends if the website that is using MathJax specifies Stix font for use in their config. On PF we set Tex as the preferred font but list Stix as available. I am unsure how to force Stix on your end.