Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Note that now Sage has a table object which can be printed as LaTeX. As per the example in the documentation:

  sage: rows = [['a', 'b', 'c'], [100,2,3], [4,5,60]]
  sage: table(rows)
    a     b   c
    100   2   3
    4     5   60
  sage: latex(table(rows))
  begin{tabular}{lll}
  a & b & c 
  $100$ & $2$ & $3$ 
  $4$ & $5$ & $60$ 
  end{tabular}