【发布时间】:2013-10-16 21:12:03
【问题描述】:
当我使用 MathJax $\sum_{i=0}^n {n \choose i} D(i)$ 时,会被转换为标记。
MathML 仍然有效地使用Computer Modern - 标准 LaTeX 字体 - 每当您想要渲染方程时。
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
<munderover>
<mo>∑<!-- ∑ --></mo>
<mrow class="MJX-TeXAtom-ORD">
<mi>i</mi>
<mo>=</mo>
<mn>0</mn>
</mrow>
<mi>n</mi>
</munderover>
<mrow class="MJX-TeXAtom-ORD">
<mrow>
<mo>(</mo>
<mfrac linethickness="0">
<mi>n</mi>
<mi>i</mi>
</mfrac>
<mo>)</mo>
</mrow>
</mrow>
<mi>D</mi>
<mo stretchy="false">(</mo>
<mi>i</mi>
<mo stretchy="false">)</mo>
</math>
有没有办法指定要呈现标记的字体,例如<mi> 或<mo>。假设我想将Kite One 用于我字体中的变量,以免与我网站的其他部分发生冲突。
http://content.altfonts.com:81/img/K/I/Kite-Onea.png
实际上,字体看起来很不错。但是如果需要,我该如何自定义 MathML?
编辑:我似乎在问 MathML 是否存在级联样式表
这个问题被认为是 tex.stackexchange 的题外话,此时可能是 StackOverflow 的问题
【问题讨论】:
标签: javascript css fonts mathjax mathml