next | previous | forward | backward | up | top | index | toc | Macaulay2 website
Macaulay2Doc :: tex

tex -- convert to $\TeX$ format

Synopsis

Description

i1 : R = ZZ[a..f];
i2 : tex matrix {{a^2+2,b,c},{d,e,f^3-a}}

o2 = $\begin{pmatrix}
     a^{2}+2&b&c\\
     d&e&f^{3}-a\end{pmatrix}$

Caveat

No attempt is made to wrap large matrices or equations.

See also

For the programmer

The object tex is a method function with a single argument.