CoCoA:Latex
From ApCoCoAWiki
Latex
LaTeX formatting
Description
This function returns its argument in a format suitable for inclusion
in a LaTeX document.
Example
Use R ::= Q[x,y,z]; F := x^3+2y^2z; Latex(F); x^{3} + 2y^{2}z ------------------------------- M := Mat([[1,2],[3,4]]); Latex(M); \left( \begin{array}{ll} 1 & 2 \\ 3 & 4 \end{array}\right) ------------------------------- F := (x+y)/(1-z)^3; Latex(F); \frac{ - x - y}{z^{3}-3z^{2} + 3z-1} ------------------------------- Latex(Ideal(x^2,y+z)); ( \ x^{2}, y + z\ ) -------------------------------
Syntax
Latex(X:OBJECT):TAGGED(<quotes><tt>$latex.Latex</tt></quotes>)
<type>io</type> <type>printing</type> <type>string</type>