tex#
Render an expression as typeset mathematics.
Available in: math cells, REPL.
Syntax#
tex(expression [, evaluate] [, config])
Arguments and behavior#
The default form is symbolic. The optional true argument evaluates first. Returns a rendered formula, not a numeric result. The example returns latex.
Example#
Edit the inputs, then use Run or Reset. Changes stay in this example.
Example
tex(x^2+1)Interactive examples could not load. You can still copy the expressions.
Expected result: { x}^{2}+1.