1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
--- status: DRAFT
--- author(s): from before
--- notes:
undocumented methods texMath
document {
Key => texMath,
Headline => "convert to TeX math format",
Usage => "texMath x",
Inputs => {
"x" => "any Macaulay2 object"
},
Outputs => {
String => {TT "x", " converted to TeX math format"}
},
"The main difference between this and ", TO tex, " is that the
surrounding dollar signs aren't there.",
EXAMPLE {
"R = ZZ[x];",
"texMath (x-1)^6",
},
Caveat => {
"No attempt is made to wrap large matrices or equations."
},
SeeAlso => {tex, mathML, showTex}
}
|