next
|
previous
|
forward
|
backward
| up |
top
|
index
|
toc
|
home
texMath -- convert to TeX math format
Synopsis
Usage:
texMath x
Inputs:
x
, any Macaulay 2 object
Outputs:
a
string
,
x
converted to TeX math format
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
tex
-- convert to TeX format
mathML
-- convert to MathML format
showTex
-- convert to TeX and display on screen