This is documentation for Mathematica 3, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)
 Documentation / Mathematica / Built-in Functions / Input and Output / Format Types  /
TeXForm

  • TeXForm[ expr ] prints as a TeX version of expr.
  • TeXForm produces plain TeX. Its output should be suitable for both LaTeX and AMSTeX.
  • TeXForm acts as a "wrapper", which affects printing, but not evaluation.
  • TeXForm translates standard mathematical functions and operations.
  • Symbols with names like alpha and ALPHA that correspond to TeX symbols are translated into their corresponding TeX symbols.
  • Following standard mathematical conventions, single-character symbol names are given in italic font, while multiple character names are given in roman font.
  • All standard Mathematica box structures are translated by TeXForm.
  • Mathematica special characters are translated whenever possible to their TeX equivalents.
  • See the Mathematica book: Section 1.11.7Section 2.8.1.
  • See also: TeXSave, StandardForm, TraditionalForm.

    Further Examples

    Here are two expressions converted to TeX form.

    In[1]:=

    Out[1]//TeXForm=

    In[2]:=

    Out[2]//TeXForm=