"HeldTeXExpression" (Interpreter Type)
TeX input.
Details
- "HeldTeXExpression" can be used in Interpreter and related constructs, including deployed smart form fields.
- Use of "HeldTeXExpression" does not require connectivity to the Wolfram Cloud.
- "HeldTeXExpression" keeps its result unevaluated by wrapping it in HoldComplete.
Restriction Specifications
-
Restricted["HeldTeXExpression",{{choice1,…}}] one among choices Restricted["TeXExpression",symbols] a expression involving only the given symbols (All, Automatic, or an explicit list) Restricted["HeldTeXExpression",symbols,contexts] a expression involving only the given symbols or symbols in the given contexts (All, Automatic, or an explicit list) Restricted["HeldTeXExpression",symbols,contexts,resultcontext] a expression involving only the given symbols or symbols in the given contexts, where the new symbols are created in resultcontext
Interpretation
- "HeldTeXExpression" yields a representation of the expression in the Wolfram Language, wrapped in HoldComplete.
Examples
Basic Examples (6)
Interpret TeX inputs without evaluating them:
No evaluation is attempted when matching the choices:
By default, all symbols are allowed. Restrict to a list of allowed symbols:
By default, new symbols are created in $Context, but a custom context can be specified: