First, note I'm still on Sage Version 4.3.1 sage: M = matrix([[1,0],[0,1]]) sage: latex(M) \left(\begin{array}{rr} 1 & 0 \\ 0 & 1 \end{array}\right)
Now, this seems to work OK in a notebook, but I'm outputting stuff to a .tex file, and this (for me at least) inserts the extra lines, making the matrix appears twice as tall as it should. In order to get it to look right I have to do: str = latex(M).replace('\n','') which appears (to me) to work with either html in a notebook, or as output to a latex file. Perhaps I'm doing something wrong (that is often the case :-), but if anyone has any comments ... -Mike -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org To unsubscribe, reply using "remove me" as the subject.