开发者

Converting Simplified Math Notation to Latex/MathML

开发者 https://www.devze.com 2023-04-02 09:22 出处:网络
I\'m trying to implement a way for users to input simplified math notation, rather than the conventional LaTex notation. The result of the expression would then be rendered using MathJax. But I can\'t

I'm trying to implement a way for users to input simplified math notation, rather than the conventional LaTex notation. The result of the expression would then be rendered using MathJax. But I can't seem to find a "simplified math notation" or ad-hoc ASCII to latex/mathml notation convertor. Can anyone recommend a converter, if not a way to开发者_高级运维 build the converter.


I've written a lightweight alternative to MathJax, at http://mathscribe.com/author/jqmath.html

It includes an input syntax that's simpler than LaTeX, basically presentation MathML semantics with a Unicode text string syntax. This syntax is then converted by javascript to MathML or simple HTML and CSS. You can control this conversion from javascript.

If this looks like what you want, I could comment on the best way to embed it in your project.

0

精彩评论

暂无评论...
验证码 换一张
取 消