Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Changing mathjax's font size

Tags:

mathjax

I am using mathjax on my page, and i have read that this:

<script type="text/x-mathjax-config">   MathJax.Hub.Config({     "HTML-CSS": { scale: 175}   }); </script> 

Is supposed to make fonts bigger. But instead, all it does, is that it makes the container of mathjax equations bigger, but the fonts stay the same. Why is that? How to change font size?

like image 874
ojek Avatar asked Sep 30 '13 03:09

ojek


People also ask

How do you change the font on MathJax?

There is currently no method for switching fonts after MathJax has loaded. Similarly, page users cannot change the font configuration at this time except by installing their preferred fonts locally.

How do I adjust the font size?

To make your font size smaller or larger: On your device, open the Settings app. Search and select Font size. To change your preferred font size, move the slider left or right.


1 Answers

Well if you need a global re-size, here's how I did it through CSS.

.MathJax { font-size: 1.3em; } 

I used 1.3 em, you can change it to better suit your needs.

like image 170
Mohd Abdul Mujib Avatar answered Sep 22 '22 17:09

Mohd Abdul Mujib