Opened 10 years ago

Closed 10 years ago

#13676 closed enhancement (fixed)

Add _latex_ method for WordMorphism

Reported by: Sébastien Labbé Owned by: Sébastien Labbé
Priority: major Milestone: sage-5.5
Component: combinatorics Keywords: wordmorphism
Cc: Timo Jolivet Merged in: sage-5.5.beta2
Authors: Sébastien Labbé Reviewers: Timo Jolivet
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description (last modified by Sébastien Labbé)

WordMorphism object do not have a latex method :

sage: s = WordMorphism('a->ab,b->b,c->ba')
sage: latex(s)
\verb|WordMorphism:|\phantom{x}\verb|a->ab,|\phantom{x}\verb|b->b,|\phantom{x}\verb|c->ba|

Attachments (1)

trac_13676-sl.patch (3.2 KB) - added by Sébastien Labbé 10 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 10 years ago by Sébastien Labbé

Description: modified (diff)

comment:2 Changed 10 years ago by Sébastien Labbé

Status: newneeds_review

comment:3 Changed 10 years ago by Sébastien Labbé

Cc: Timo Jolivet added

Changed 10 years ago by Sébastien Labbé

Attachment: trac_13676-sl.patch added

comment:4 Changed 10 years ago by Sébastien Labbé

I just reloaded the patch. I am now including the new _latex_ method not next to __repr__ or __str__ to avoid conflict with #13677.

comment:5 Changed 10 years ago by Timo Jolivet

Authors: Sébastien Labbé
Milestone: sage-5.5sage-5.4
Reviewers: Timo Jolivet
Status: needs_reviewpositive_review

comment:6 Changed 10 years ago by Jeroen Demeyer

Milestone: sage-5.4sage-5.5

comment:7 Changed 10 years ago by Jeroen Demeyer

Merged in: sage-5.5.beta2
Resolution: fixed
Status: positive_reviewclosed
Note: See TracTickets for help on using tickets.