【发布时间】:2015-06-07 07:09:09
【问题描述】:
如何左对齐所有 MathJax 方程“on-render”。当您设置displayAlign: "left" 时,方程将首先居中,然后在 0.5 秒后向左移动。所以基本上,它会向左闪烁,这在视觉上是不愉快的。
有没有办法让它出现在渲染的左侧?这是我现在的代码。
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
config: ["MMLorHTML.js"],
jax: ["input/TeX","input/MathML","input/AsciiMath","output/HTML-CSS","output/NativeMML", "output/CommonHTML"],
extensions: ["tex2jax.js","mml2jax.js","asciimath2jax.js","MathMenu.js","MathZoom.js", "CHTML-preview.js"],
TeX: {
extensions: ["AMSmath.js","AMSsymbols.js","noErrors.js","noUndefined.js"]
},
displayAlign: "left"
});
</script>
<script src="//cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
【问题讨论】:
-
未来注意事项:cdn.mathjax.org 即将结束生命周期,请查看mathjax.org/cdn-shutting-down 了解迁移提示。
标签: javascript latex mathjax tex mathml