On Friday, 8 July 2016 21:53:38 UTC+2, Aaron Meurer wrote: > > Isn't just a question of picking a nonnegative term to go first? >
Yes (I have some other ideas regarding optimizing the printed width of an equation too but let's skip that for now). But how would I go about doing so? the `.args` attribute cannot be modified since it is immutable, and this doesn't help: >>> Add(y, -x, evaluate=False) -x + y -- You received this message because you are subscribed to the Google Groups "sympy" 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/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/abf6ec60-332e-48bf-90c4-4aa48c015f5f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
