2.7.1 Translating an expression to L
A
T
E
X
The
latex
command translates expressions to L
A
T
E
X
.
latex
takes
expr
, an expression.
latex(
expr
)
returns the result of evaluating
expr
written in the L
A
T
E
X typesetting language.
Example
latex
(1+1/2)
\
frac{3}{2}