# Revision history [back]

Have you tried sagetex? What you can do is install sagetex and then when you latex your .tex file you can include sage commands inside the tex file. Sagetex will solve the equations and latex them for you.

Have you tried sagetex? What you can do is install sagetex and then when you latex your .tex file you can include sage commands inside the tex file. Sagetex will solve the equations and latex them for you.

Edit:

Also there is a command latex. For eg.

alpha=var('alpha')
latex(sin(alpha))


gives you the latex output for the expression which you can copy paste in to you latex document.