#18270: Print matrices using unicode large delimiters (on demand)
-------------------------------------+-------------------------------------
Reporter: gagern | Owner:
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-6.7
Component: user interface | Resolution:
Keywords: unicode matrix | Merged in:
Authors: Martin von Gagern | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/gagern/MatrixUnicodeDelimiters | e4e5f4be04b0124d6d599b937a3ad3fed0377fe3
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Changes (by gagern):
* status: needs_work => needs_review
Old description:
> Unicode provides nice symbols which can be combined to form large
> delimiters. It would be nice if we could print matrices using these,
> instead of the same ASCII brackets on all the lines. So instead of
>
> {{{
> [1 2|3]
> [4 5|6]
> [7 8|9]
> }}}
>
> I'd like to see
>
> {{{
> ⎡1 2│3⎤
> ⎢4 5│6⎥
> ⎣7 8│9⎦
> }}}
>
> Perhaps it's best to do this in small increments: start with a keyword
> argument to the `str` method of matrices, then later on make this the
> default. So the ticket here is only for on-demand support of this
> feature, not for its automatic use by default. For later reference, see
> #14733 which switched the banner to Unicode, and thereby made the choice
> that Sage may look broken on non-Unicode terminals.
New description:
Unicode provides nice symbols which can be combined to form large
delimiters. It would be nice if we could print matrices using these,
instead of the same ASCII brackets on all the lines. So instead of
{{{
[1 2|3]
[4 5|6]
[7 8|9]
}}}
I'd like to see one of these:
{{{
⎛1 2│3⎞ ⎡1 2│3⎤
⎜4 5│6⎟ or ⎢4 5│6⎥
⎝7 8│9⎠ ⎣7 8│9⎦
}}}
Perhaps it's best to do this in small increments: start with a keyword
argument to the `str` method of matrices, then later on make this the
default. So the ticket here is only for on-demand support of this feature,
not for its automatic use by default. For later reference, see #14733
which switched the banner to Unicode, and thereby made the choice that
Sage may look broken on non-Unicode terminals.
--
--
Ticket URL: <http://trac.sagemath.org/ticket/18270#comment:15>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.