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 = $\left(\begin{smallmatrix}
     a^{2}+2&b&c\\
     d&e&f^{3}-a
     \end{smallmatrix}\right)$

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.