#20034: Add _latex_() to algebraic_closure_finite_field.py
-------------------------------------+-------------------------------------
       Reporter:  klui               |        Owner:
           Type:  enhancement        |       Status:  needs_work
       Priority:  trivial            |    Milestone:  sage-7.1
      Component:  finite rings       |   Resolution:
       Keywords:  latex              |    Merged in:
        Authors:  Kevin Lui          |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/klui/add__latex____to_algebraic_closure_finite_field_py|  
5b6812fdd348f80023c745c59d0d8689797ac13e
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by klui):

 Thanks. I've changed it.

 Replying to [comment:4 bruno]:
 > * To make the code Python3-compatible, you should replace
 >   {{{#!python
 >           return "\\overline{%s}" % self.base_ring()._latex_()
 >   }}}
 >   by
 >   {{{#!python
 >           return "\\overline{{{}}}".format(self.base_ring()._latex_())
 >   }}}
 > * In the doc, you should replace {{{Returns latex representation of
 self.}}} by {{{Return a LaTeX representation of ``self``.}}} (as for the
 other method `_latex_` in the same file).
 >

--
Ticket URL: <http://trac.sagemath.org/ticket/20034#comment:6>
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 https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to