Opened 11 years ago

Last modified 11 years ago

#12156 closed defect

Pretty print LatexExpr directly — at Version 6

Reported by: jdemeyer Owned by: jason
Priority: major Milestone: sage-4.8
Component: misc Keywords: sd35
Cc: tdemedts@…, jhpalmieri Merged in:
Authors: Jeroen Demeyer Reviewers: Andrey Novoseltsev
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description (last modified by jdemeyer)

An object of type LatexExpr should be pretty-printed as-is, that is

sage: pretty_print(LatexExpr('x^2 + 1'))

should really typeset "x^2 + 1" instead of displaying the string "x^2 + 1".

Also, import LatexExpr globally.

Apply 12156_latex_pretty_print.patch, 12156_reviewer.patch, 12156_extra_doc.patch

Change History (8)

comment:1 Changed 11 years ago by jdemeyer

  • Description modified (diff)

comment:2 Changed 11 years ago by jdemeyer

  • Authors set to Jeroen Demeyer
  • Cc tdemedts@… added

Changed 11 years ago by jdemeyer

comment:3 Changed 11 years ago by jdemeyer

  • Status changed from new to needs_review

comment:4 Changed 11 years ago by jhpalmieri

  • Cc jhpalmieri added

Changed 11 years ago by novoselt

comment:5 Changed 11 years ago by novoselt

  • Reviewers set to Andrey Novoseltsev

I got a bit confused by the description of the class, so I propose the attached change. The main patch has positive review from me.

comment:6 Changed 11 years ago by jdemeyer

  • Description modified (diff)
Note: See TracTickets for help on using tickets.