next | previous | forward | backward | up | top | index | toc | home

texMath -- convert to TeX math format

Synopsis

Description

The main difference between this and tex is that the surrouding dollar signs aren't there.
i1 : R = ZZ[x];
i2 : texMath (x-1)^6

o2 = x^{6}-6 x^{5}+15 x^{4}-20 x^{3}+15 x^{2}-6 x+1

Caveat

No attempt is made to wrap large matrices or equations.

See also