是否有支持从 Latex 转换为数学字符串的库?
例如。我需要转换\frac{10}{3x+3}=5x^2
为类似的东西(10/(3*x+3))=5*(x**2)
(我从 MathQuill 得到 Latex)
是否有支持从 Latex 转换为数学字符串的库?
例如。我需要转换\frac{10}{3x+3}=5x^2
为类似的东西(10/(3*x+3))=5*(x**2)
(我从 MathQuill 得到 Latex)
我发现了这个https://github.com/Crownie/latex-to-js
例子\frac{d}{dx}\sqrt{x}
兑换(d)/(dx)sqrt(x)
您的示例可以转换为(10)/(3x+3)=pow(5x,2)
但我不知道它有什么限制。