Wolfram Language & System 10.4 (2016)|Legacy Documentation

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

"TeXExpression" (interpreter type)

TeX input.

DetailsDetails

Allowed FormsAllowed Forms

  • Any valid TeX expression.

Restriction SpecificationsRestriction Specifications

InterpretationInterpretation

  • "TeXExpression" yields a representation of the TeX expression in the Wolfram Language.

ExamplesExamplesopen allclose all

Basic Examples  (5)Basic Examples  (5)

Interpret TeX inputs:

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

Restrict to a list of choices:

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

By default, all symbols are allowed. Restrict to a list of allowed symbols:

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

By default, new symbols are created in $Context, but a custom context can be specified:

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

Specify contexts for the allowed and output symbols:

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