Skip to content

LaTeX representation of fractions still broken #9834

@robert-marik

Description

@robert-marik

Similarly as in #9314

sage: latex(-(x+1)/(x+2))
\frac{-x + 1}{x + 2}

note the minus sign :(

Also (another report from web):

sage: var('a b c x')
sage: solve(a*x^2+b*x+c==0,x)[0]
x == -1/2*(b + sqrt(-4*a*c + b^2))/a
sage: latex(_)
x = \frac{-b + \sqrt{-4 \, a c + b^{2}}}{2 \, a}

CC: @burcin

Component: symbolics

Keywords: latex, fraction, pynac

Author: Burcin Erocal

Reviewer: Karl-Dieter Crisman

Issue created by migration from https://trac.sagemath.org/ticket/9834

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions