Generating and Importing TeX

Wolfram System notebooks provide a sophisticated environment for creating technical documents. But particularly if you want to merge your work with existing material in TeX, you may find it convenient to use (RefLink[TeXForm, paclet:ref/TeXForm]) to convert expressions in the Wolfram Language into a form suitable for input to TeX.

Wolfram Language output for TeX.

Here is an expression, printed in standard Wolfram Language form:

(x+y)^2/Sqrt[x y]

Here is the expression in TeX input form:

TeXForm[%]

Converting TeX strings to the Wolfram Language.

This converts a TeX string to the Wolfram Language. Note the double backslashes needed in the string:

ToExpression["\\sqrt{x y}",TeXForm]

In addition to being able to convert individual expressions to TeX, the Wolfram System also provides capabilities for translating complete notebooks. These capabilities can usually be accessed from the (MenuGrayLink[File, paclet:guide/FileMenu]) ▶ (MenuGrayLink[Save As..., paclet:ref/menuitem/SaveAs]) menu in the notebook front end.