### 2.7.1 Translating an expression to LATEX

The latex command translates expressions to LATEX.

- latex takes expr, an expression.
- latex(expr) returns the result of evaluating expr written in the LATEX typesetting language. Note that the returned value is a string which typesets properly when inserted in a (displayed) math environment.
- When copying the latex command output manually from a giac interface to a LATEX document, be sure to remove the double quotes.

#### Example

latex(1+1/2)

\frac{3}{2} |  |  |  |  |  |  |  |  |  |