Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Luckily, this is probably easier than that, though it is a little hard to find that out because this is in an "underscore" method which is probably not in the reference manual. In fact, it was fixed shortly after a closely related discussion from six years ago.

sage: A = matrix([[6,6,1],[7,0,6],[4,-7,7]])
sage: latex(A)

this actually calls

sage: A._latex_()

which points out that one can customize matrix delimiters. So hopefully just doing

sage: latex.matrix_delimiters("[", "]")

will solve this for you!