On Nov 12, 7:21 am, Andrea Lazzarotto <andrea.lazzaro...@gmail.com> wrote: > > is there any method which gives me an Ascii output for a > > mathematical-express like sqrt(x)?
You can use some of maxima's capabilities for that: sage: maxima(x^(1/x)).display2d() 1/x x although maxima prefers "sqrt(x)" over "\/x" With this approach you're limited to expressions that can be converted to maxima and maintain enough of their meaning to be allowed to render correctly. > This one looks nice:http://asciitex.sourceforge.net/ If that just accepts latex input you should be able to do something along the lines of E=latex(sqrt(x)) os.system("asciiTex '%s'%E) since sage does try to have methods for pretty much anything to be rendered as latex. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To post to this group, send email to sage-devel@googlegroups.com. To unsubscribe from this group, send email to sage-devel+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel?hl=en.