Closed
Description
From mathjax/MathJax-dev#22 (comment)
MathJax-node can't measure the width of elements, like MathJax can in the browser. [...] So MathJax-node has to guess. It does this by using the "monospace" font, and making an assumption about the width of that font. For standard ASCII characters, this assumption is reasonable, but for non-western characters, this doesn't work so well.
You can adjust the width that MathJax-node uses by changing the
8.5
in line 318 oflib/mj-single.js
to be something larger; a value of 13 worked for me. If you change themonospace
toserif
two lines later, then you might need to go to 15 or 16.
I'm wondering: Should we expose this in the configuration options?