latex output

I

ilovesss2004

Hi,
The latex print function in sympy only can make latex code for math
expression which includes at least a variable. If we input an
expression without any variable like latex('2**2/3'), we will get
'$1$' instead of '$\\frac{1}{3} 2^{2}$'.

Is there a python package I can use to output latex code for math
expression without variables?

Thanks a lot.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,065
Latest member
OrderGreenAcreCBD

Latest Threads

Top