Table with multi-line/column header
This is a nice table
T = [[0,0,5,3],[3,1,5,4],[4,4,6,2],[4,2,7,8],[5,4,6,6],[7,5,8,9]]
t = table(T, header_row=[r'$B_1$',r'$B_2$',r'$B_3$',r'$B_4$'], header_column=[r'$A_{11}$', r'$A_{12}$',r'$A_{13}$', r'$A_{21}$', r'$A_{22}$',r'$A_{23}$'], frame=True)
show(t)
But in the doc I havent seen how to add a multicolumn or multirow header for all the index or only for a subset
Could you please provide an (visual) example of what you want to achieve ?
Also, can you point at the documentation page that might need improving?
Sorry, to answer this point late. I have just seen for what you were asking. Here is a table. I coul d also provide the Latex formula but it needs some additional packages
It would be nice also if some cells could be colored.
Here is the documentation page http://doc.sagemath.org/html/en/refer...