How to control the order of terms in an expression when latexed

24 views
Skip to first unread message

Wynne

unread,
Mar 30, 2018, 8:35:53 PM3/30/18
to sympy
Hi,

I use SymPy in a learning system so the exact way expressions are printed is important.

In a nutshell, the expression 1+x is always printed as x+1. Without jumping through hoops, is there a way to preserve the order of terms that corresponds to the way the expression was entered/built?

Thanks.

Wynne

Wynne

unread,
Apr 5, 2018, 5:33:56 PM4/5/18
to sympy
I guess this cannot be easily done?
Reply all
Reply to author
Forward
0 new messages