Wilang Documentation1.0.0+4

latex#

Render a LaTeX string as mathematics.

Available in: math cells, REPL.

Syntax#

latex(source [, config])

Arguments and behavior#

Pass a quoted LaTeX string. Write two backslashes for each LaTeX command in a math-cell or REPL string, and four for a LaTeX matrix row separator. Escaped quotes retain normal string semantics. Markdown formulas use single backslashes instead. Legacy single-backslash commands in math cells remain accepted. Use tex for formulas authored as math expressions.

Example#

Edit the inputs, then use Run or Reset. Changes stay in this example.

Example
latex("x^2 + 1")

Expected result: x^2 + 1.

All functions · Math guides