I found that the output can be automatically divided on several lines
by latex with help of package breqn. For example here is the code:
#
var('c')
c=0
for j in range(100):
    a=x^j
    d=c
    c=d+a
pr=latex(c)
latex.add_to_preamble("\usepackage{breqn}")
#
I pressed shift+enter and typed in the next cell:
#
%latex
\begin{dmath*}
\sage{pr}
\end{dmath*}
#
output of it is divided on several lines.

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to