如何改变MathJax中的数学填充? [英] How to change padding of math in MathJax?

查看:152
本文介绍了如何改变MathJax中的数学填充?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

就像,当我在我的div中有我的数学部分时,它看起来像这样,我将div的填充设置为 0

Like, when I have my piece of Math in my div, it would look like this, where I have set the padding of my div to 0:

那么,有没有办法改变数学填充的值?

So, is there a way to change the value of the padding of the math?

推荐答案

此处找到(并相信我回答这个问题,并忘了它):

Found from here (and to believe I answered this question, and forgot about it):

MathJax.Hub.Config({
    jax: ["input/TeX","output/HTML-CSS"],
    displayIndent: "2em"
});

这篇关于如何改变MathJax中的数学填充?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆