Everytime I use ToExpression
to transform a TeX expression into mathematica input form, Mathematica always interprets parenthesis ('(' and ')') as square brackets, which has a differente meaning for expressions. I always have to manually change the expression. Also, it doesn't happen all the time.
Does anybody know what is going on and what can I do to fix this?
An Example:
ToExpression["A - \\frac{B (2+F)}{(1+C)} D", TeXForm]
This yields:
A - (D B[2 + F])/(1 + C)
I would like:
A - (D B(2 + F))/(1 + C)
Thanks.
s_[a_] :> s*a
. Where do your TeX snippets come from? Can you get MathML instead of TeX? $\endgroup$