#12544: Switch cones to `PointCollection`
--------------------------------------------------+-------------------------
Reporter: novoselt | Owner: mhampton
Type: enhancement | Status: needs_work
Priority: major | Milestone: sage-5.1
Component: geometry | Resolution:
Keywords: toric | Work issues: output
formatting, base rings
Report Upstream: N/A | Reviewers:
Authors: Andrey Novoseltsev | Merged in:
Dependencies: #11599, #11634, #12541, #12361 | Stopgaps:
--------------------------------------------------+-------------------------
Comment (by novoselt):
OK, how about this variant:
* class method `PointCollection.output_format` that affects both text and
LaTeX representation and is visible to those who will look at TAB-
completion;
* default text representation as described above, with line breaks and
coordinate alignment;
* default LaTeX representation as a tuple (i.e. as it was but with
lattice subscript) - aligning coordinates which are wrapped in \left( and
\right) it a bit hard, those who want alignment are welcome to switch to
matrices.
The new patch does all this and fixes all doctests in `point_collection`
module so they show how it works now. If you are OK with this look and
approach, I'll fix doctest formatting in all other files.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12544#comment:25>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.