如何将数字或字符转换为 MathML 格式?
How to convert numbers or characters to MathML format?
示例,
yes -> <math xmlns="http://www.w3.org/1998/Math/MathML"><mi>y</mi><mi>e</mi><mi>s</mi></math>
99 -> <math xmlns="http://www.w3.org/1998/Math/MathML"><mn>99</mn></math>
对于那些给定的输入,我想得到相应的数学表达式。我这样做是因为 mathtype.setMathML(99)
行不通,应该是 mathtype.setMathML(<math xmlns="http://www.w3.org/1998/Math/MathML"><mn>99</mn></math>)
我正在使用 mathtype_web.
<mtext>
来救援。我们可以用它来渲染数字或字符。
mathtype.setMathML(<math xmlns="http://www.w3.org/1998/Math/MathML"><mtext>{NUMBER or CHARACTERS}</mtext></math>)
示例,
yes -> <math xmlns="http://www.w3.org/1998/Math/MathML"><mi>y</mi><mi>e</mi><mi>s</mi></math>
99 -> <math xmlns="http://www.w3.org/1998/Math/MathML"><mn>99</mn></math>
对于那些给定的输入,我想得到相应的数学表达式。我这样做是因为 mathtype.setMathML(99)
行不通,应该是 mathtype.setMathML(<math xmlns="http://www.w3.org/1998/Math/MathML"><mn>99</mn></math>)
我正在使用 mathtype_web.
<mtext>
来救援。我们可以用它来渲染数字或字符。
mathtype.setMathML(<math xmlns="http://www.w3.org/1998/Math/MathML"><mtext>{NUMBER or CHARACTERS}</mtext></math>)