Actually, I found what you are looking for. The operation sympy.factor(<sum of two fractions>) will combine them over one denominator. This will work for a sympy.Eq() as long as it does not evaluate to True or False.
Regards, Jonathan On Saturday, February 19, 2022 at 5:19:54 PM UTC-6 [email protected] wrote: > Hi, > > I'm using Sympy to generate latex for a webpage, but I have an issue when > converting algebraic fractions into latex. I have attached an image with an > example, I use sympy.Eq() to set up an equation and then convert it to > latex using sympy.latex(). Is there anyway to prevent sympy from splitting > these fractions up? > > Thanks! > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/sympy/8c447a63-fa77-4307-9a57-ea96dc626850n%40googlegroups.com.
