How do I convert a Mathematica expression to the equivalent TeXForm string as shown when applying TeXForm?

For example: toTeXFormString[\[Alpha]] should output the string "\alpha" as a manipulable string. (It should not output TeXForm[\[Alpha]] formatted in string form, i.e. toTeXFormString[\[Alpha]]<>"bla" should append the string bla.)

  • 1
    $\begingroup$ Use ToString[α, TeXForm]. $\endgroup$
    – Carl Woll
    Oct 19, 2020 at 16:57

1 Answer 1


You are looking for Convert`TeX`ExpressionToTeX.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.