Opened 9 years ago

Closed 9 years ago

#13676 closed enhancement (fixed)

Add _latex_ method for WordMorphism

Reported by: slabbe Owned by: slabbe
Priority: major Milestone: sage-5.5
Component: combinatorics Keywords: wordmorphism
Cc: tjolivet 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 slabbe)

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 slabbe 9 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 9 years ago by slabbe

  • Description modified (diff)

comment:2 Changed 9 years ago by slabbe

  • Status changed from new to needs_review

comment:3 Changed 9 years ago by slabbe

  • Cc tjolivet added

Changed 9 years ago by slabbe

comment:4 Changed 9 years ago by slabbe

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 9 years ago by tjolivet

  • Authors set to Sébastien Labbé
  • Milestone changed from sage-5.5 to sage-5.4
  • Reviewers set to Timo Jolivet
  • Status changed from needs_review to positive_review

comment:6 Changed 9 years ago by jdemeyer

  • Milestone changed from sage-5.4 to sage-5.5

comment:7 Changed 9 years ago by jdemeyer

  • Merged in set to sage-5.5.beta2
  • Resolution set to fixed
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.