Re: [sage-support] help debugging latex() printing with trace()

2023-10-27 Thread Dima Pasechnik
On Fri, Oct 27, 2023 at 1:03 AM Eric Majzoub wrote: > > I would like to debug the latex printing of an expression that ambiguous. > > To reproduce it: > t = var('t') > x = function('x')(t) > latex( diff(x,t)^2 ) > > This produces ambiguous output, essentially: > > partial_t x^2 > > instead of > >

[sage-support] help debugging latex() printing with trace()

2023-10-26 Thread Eric Majzoub
I would like to debug the latex printing of an expression that ambiguous. To reproduce it: t = var('t') x = function('x')(t) latex( diff(x,t)^2 ) This produces ambiguous output, essentially: partial_t x^2 instead of (partial_t x)^2 I have tried: from sage.misc.trace import trace