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 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
|
--- status: DRAFT
--- author(s): from before
--- notes:
undocumented {
(tex, Thing),
(tex, String),
(tex, Nothing),
(tex, Hypertext),
(tex, COMMENT),
(tex, IMG),
(tex, TO2),
(tex, TO),
(tex, TOH),
(tex, HEADER1),
(tex, HEADER2),
(tex, HEADER3),
(tex, HEADER4),
(tex, HEADER5),
(tex, HEADER6),
(tex, LITERAL),
(tex, STRONG),
(tex, ITALIC),
(tex, TEX),
(tex, BR),
(tex, TT),
(tex, HR),
(tex, PARA),
(tex, CODE),
(tex, HREF),
(tex, TABLE),
(tex, PRE),
(tex, DL),
(tex, DT),
(tex, DD),
(tex, OL),
(tex, UL)
}
document {
Key => tex,
Headline => "convert to $\\TeX$ format",
Usage => "tex x",
Inputs => {
"x" => "any Macaulay2 object"
},
Outputs => {
String => {TT "x", " converted to $\\TeX$ format"}
},
EXAMPLE {
"R = ZZ[a..f];",
"tex matrix {{a^2+2,b,c},{d,e,f^3-a}}",
},
Caveat => {
"No attempt is made to wrap large matrices or equations."
},
SeeAlso => {texMath, mathML, showTex}
}
|