cs150bf / ever-notedown

Atom Editor Plugin
MIT License
140 stars 13 forks source link

Possible to change the Font Size of MathJax renderings? #63

Closed 7k50 closed 7 years ago

7k50 commented 8 years ago

Is there a way to change the font size of MathJax renderings?

I had a look around in the config files, including the asset folder for MathJax, and tried a few things, but I couldn't get any font sizes to change.

Thank you!

cs150bf commented 7 years ago

This is late but I have just added a line in version 0.2.27.

To change font size, open ever-notedown/lib/mathjax-helper.coffee and go to line 192 (as of version 0.2.27), the default is scale: 100. Change the scaling factor (as a percentage) will change the mathjax output font size.

See also: http://docs.mathjax.org/en/latest/options/SVG.html

I'll close this issue for now. Let me know if it doesn't work.