This is documentation for Mathematica 4, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)
Wolfram Research, Inc.

Exporting Formulas from NotebooksExchanging Material with the Web

1.11.6 Generating TeX

Mathematica 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 TeXForm to convert expressions in Mathematica into a form suitable for input to TeX.

Mathematica output for TeX.

Here is an expression, printed in standard Mathematica form.

In[1]:= (x + y)^2 / Sqrt[x y]

Out[1]=

Here is the expression in TeX input form.

In[2]:= TeXForm[%]

Out[2]//TeXForm= \frac{{\left( x + y \right) }^2}{{\sqrt{x\,y}}}

Converting complete notebooks to TeX.

In addition to being able to convert individual expressions to TeX, Mathematica also provides capabilities for translating complete notebooks. These capabilities can usually be accessed from the Save As Special menu in the notebook front end, where various options can be set.

Exporting Formulas from NotebooksExchanging Material with the Web