The syntax is pretty much the same in Mathematica:
- ToExpression[string, TeXForm] for expressions coming from TeX
- ToExpression[string, MathML] for expressions coming from MathML
But how do you grab the TeX formula? TeX'd up formulae usually have the TeX form in the alt-text portion for the image. For example, the first formula in https://en.wikipedia.org/wiki/Calculus#Fundamental_theorem has the alt-text \int_{a}^{b} f(x)\,dx = F(b) - F(a).
- ToExpression[string, TeXForm] for expressions coming from TeX
- ToExpression[string, MathML] for expressions coming from MathML
But how do you grab the TeX formula? TeX'd up formulae usually have the TeX form in the alt-text portion for the image. For example, the first formula in https://en.wikipedia.org/wiki/Calculus#Fundamental_theorem has the alt-text \int_{a}^{b} f(x)\,dx = F(b) - F(a).