>>> latex(S('(2+3)/7',evaluate=False))
'\\frac{1}{7} \\left(2 + 3\\right)'

On Monday, February 16, 2015 at 8:40:47 AM UTC-6, zel noth wrote:
>
> I want to use the latex function without calculating the input. For 
> instance if I do latex((2+3)/7) the answer comes out as 5/7, when I want it 
> to come out as (2+3)/7 (with latex).
>

-- 
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 http://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/cd2d49ac-9403-4a03-88cb-584f8b825983%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to