Wolfram Language & System 11.0 (2016)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)

TeXFragment (.tex)

BackgroundBackground

    MIME type: application/x-tex
    TeX typesetting system and programming language.
    Commonly used for typesetting mathematical and scientific publications and other technical documents.
    Plain text format.
    Describes the contents and the layout of multipage documents.
    Developed since 1977 by Donald Knuth.

Import and ExportImport and Export

OptionsOptions

  • Advanced Export options:
  • "BoxRules"{}specifies mappings from Wolfram Language box expressions to TeX elements
    "ConversionRules"Automaticspecifies mappings from Wolfram System cell styles to TeX elements
    "DocumentClass""article"what LaTeX document type to use
    "FullDocument"Falsewhether to export a complete TeX document
    "MathOutput""TeX"format to use for typeset expressions
    "UsePackages"Automaticlist of packages to include in \usepackage{}
  • Typical settings for "DocumentClass" include "article", "report", and "letter".
  • Possible values for "MathOutput" are:
  • "EPS"converts typeset expressions to EPS, stored in separate files
    "TeX"formats all typeset expressions to embedded TeX macros

ExamplesExamplesopen allclose all

Basic Examples  (2)Basic Examples  (2)

This translates a Cell expression to a TeX fragment:

In[1]:=
Click for copyable input
Out[1]=

Translate an arbitrary expression to a TeX fragment:

In[1]:=
Click for copyable input
Out[1]=

Translate "MathML" to a TeX fragment:

In[2]:=
Click for copyable input
Out[2]=
Introduced in 2014
(10.0)