# tex function

An expression typeset as LaTeX.

## How to write it

### tex(expr)

**expr**

Any expression: a number, a formula, a list or a matrix. Takes an expression.

## Examples

- $\displaystyle \operatorname{tex}(x^{2}) = x^{2}$

  `tex(x^2)`

  In the solver, `tex(x^2)` gives ``tex(`x^{2}`)``.

  [Open in the solver](https://hilberon.com/?q=tex%28x%5E2%29)

---
Source: https://hilberon.com/library/tex
