Macaulay2 » Documentation
Packages » Macaulay2Doc :: tex
next | previous | forward | backward | up | index | toc

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{array}{ccc}
     a^{2}+2&b&c\\
     d&e&f^{3}-a
     \end{array}\!\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.