This may work for you
html(r'<span class="math">\tan^{-1} x</span>') or simply html(r'$\tan^ {-1} x$') the r before ' stands for "raw string". On Dec 8, 9:55 pm, acardh <[EMAIL PROTECTED]> wrote: > I am working in the Sage Notebook, I can reproduce the Taylor Series > example as is. The LaTeX works fine there. > > I took the next line from the Sage reference book, from the Latex > printing support section: > > <html><span class="math">\tan^{-1} x</span></html> > > The problem is that when I put it in the Notebook cell I get an error: > > SyntaxError:invalidsyntax --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---