I'm using mathjax in my site which has Persian language. I follow the instruction in mathjax.org to install and configure it, but the mathjax output is too small in my friend's browser (chrome on Linux) and in normal size in my browser (again chrome on Linux). I know mathjax calculate font size dynamically, but I can't understand why the output differs in same browsers but different machines.
I googled this problem and it seems many people have same problem but none of the given solutions solve my problem. is it because of Persian language surrounding mathjax text?
this link is one of the page in my site which uses mathjax extensively: http://beta.kahu.ir/question/1/%D8%B1%D8%B4%D8%AA%D9%87%DB%8C-%D9%86%D8%B2%D8%AF%DB%8C%DA%A9-%D8%AA%D8%B4%D8%B1%DB%8C%D8%AD%DB%8C-%D9%85%D8%B1%D8%AD%D9%84%D9%87%DB%8C-%D8%AF%D9%88%D9%85-%D8%B3%D8%A7%D9%84-%DB%B1%DB%B3%DB%B9%DB%B2/
I suspect that some CSS on the page is affecting the measurements that MathJax is making in order to determine the font's em- and ex-sizes. For example, I did notice that the CSS includes
div {
overflow: hidden;
}
and that might be the source of the problem (as MathJax uses div's to do its measurements). This also seems to be part of the problem with the MathJax menus (which at times are clipped to show only one item). You could try removing that temporarily and see if the math is sized correctly.
In any case, you can use set matchFontHeights
to false
in the HTML-CSS section of your MathJax configuration in order to turn off font matching. That seems to work OK with your setup.