Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

If you can put it in a matrix m, then latex(m) will give roughly a latex table.

sage: var('x,y,z')
(x, y, z)
sage: latex(matrix([[x*y,x+y,z],[z+y,x-y,x*y*z]]))
\left(\begin{array}{rrr}
x y & x + y & z \\
y + z & x - y & x y z
\end{array}\right)