Styling MathJax

后端 未结 2 1915
醉酒成梦
醉酒成梦 2020-12-30 05:10

I\'m so confused about this. I\'ve searched for tutorials but can\'t find any that make much sense to me, how do I set a CSS class for MathJax output? I just want to make

2条回答
  •  独厮守ぢ
    2020-12-30 05:50

    Have you tried setting the scale option in your output processor? See the manual. You can set the configuration options either in a file or inline; this page covers the process.

    Basically, you include a short snippet of JavaScript in your page, or in a file you include. Example:

    
    

    Also, you can simply surround the thing in a div with a CSS class applied. View the source on this page.

    \[ g\frac{d^2u}{dx^2} + L\sin u = 0 \]

    The equation will simply inherit the font size.

提交回复
热议问题