Ticket #666 (closed defect: fixed)
[with patch] add spacing in latex output of matrices for increasing readbility
| Reported by: | pdenapo | Owned by: | was |
|---|---|---|---|
| Priority: | trivial | Milestone: | sage-2.8.5 |
| Component: | linear algebra | Keywords: | |
| Cc: | Author(s): | ||
| Report Upstream: | Reviewer(s): | ||
| Merged in: | Work issues: |
Description
Currently, printing of matrices in Latex form is difficult to read. I'm submitting a (trivial) patch that adds more spacing to increase readibility.
Example:
sage: M=MatrixSpace(QQ,2,2) sage: A=M([[2,3],[4,5]]) sage: latex(A)
currently gives:
\left(\begin{array}{rr}
2&3\\
4&5
\end{array}\right)
My patch changes this to
\left(\begin{array}{rr}
2 & 3 \\
4 & 5
\end{array}\right)
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

