#16200: FiniteStateMachine._latex_: typeset state labels in math mode
-----------------------------+----------------------------------------
Reporter: cheuberg | Owner:
Type: defect | Status: new
Priority: major | Milestone: sage-6.2
Component: combinatorics | Keywords: finite_state_machine
Merged in: | Authors: Clemens Heuberger
Reviewers: | Report Upstream: N/A
Work issues: | Branch:
Commit: | Dependencies:
Stopgaps: |
-----------------------------+----------------------------------------
Currently, state labels are not typeset in LaTeX's math mode, but
transition labels are.
Furthermore, the default behaviour is to pipe the label through latex(),
which by definition
produces output suitable for math mode. Therefore, I consider this to be a
bug and change the behaviour.
This is an incompatible change; however, relying on the old behaviour will
either make no difference (if the label was an integer or a string (this
is protected by \text anyway)) or lead to an error
when typesetting with tikz.
While doing that, I also include a space after the comma in the coordinate
tuples (PEP 8 probably does not apply to TeX code included in a docstring,
but nevertheless ...).
--
Ticket URL: <http://trac.sagemath.org/ticket/16200>
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.