On Jan 29, 2:09 am, lutusp <lut...@gmail.com> wrote: > > Give some examples, please. > > var("y R") > > a(y,R) = pi * (2*R - y) * y > > lbl = text("$\int \ " + latex(a(y,R)) + "$",(3,20)) > > view(lbl) > ... Graphics object consisting of 1 graphics primitive (not > displayed) > show(lbl) > ... Unknown control sequence '\texttt' > > No graphics shown.
This is a bug with matplotlib. For Sage, it's being tracked on this ticket: <http://trac.sagemath.org/sage_trac/ticket/8125> Meanwhile, you could try: sage: s = latex(a(y,R)).replace('\\,', '') # remove \, sage: lbl = text(r"$\int \ " + s + "$", (3, 20)) sage: show(lbl) -- John -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org