Opened 2 years ago

Last modified 22 months ago

#26337 new enhancement

Extraneous parentheses in latex(e^-x)

Reported by: slelievre Owned by:
Priority: minor Milestone: sage-pending
Component: symbolics Keywords: latex, symbolic expression
Cc: rws, slelievre Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Description

Reported by Andy Howell on sage-devel.

Current:

sage: h = e^-x
sage: latex(h)
e^{\left(-x\right)}

Wish:

sage: h = e^-x
sage: latex(h)
e^{-x}

See further analysis and links in the 2018-09 sage-devel discussion.

Change History (2)

comment:1 Changed 22 months ago by embray

  • Milestone changed from sage-8.4 to sage-pending

comment:2 Changed 22 months ago by slelievre

Not sure whether the fix belongs in Sage or GiNaC or Pynac. Any insight anyone?

Note: See TracTickets for help on using tickets.