On Fri, Oct 23, 2009 at 1:29 AM, lutusp <[email protected]> wrote: > > On Oct 20, 11:19 am, Chris Seberino <[email protected]> wrote: >> Possible to do superscripts, subscripts and Greek letters in >> notebooks? > > show(html("$ \lambda_0 \omega_1 \lambda^0 \omega^1$"))
I would put an r before the quotes so you don't have to escape the backslashes. Also, you don't know to put "show": html(r"$ \lambda_0 \omega_1 \lambda^0 \omega^1$") William > The underscore signifies subscript, the circumflex signifies > superscript. There are some rather baroque rules about getting the > subscript syntax to work, which is why my example is wrapped in "html > ()". > > Basically the answer to your question is that latex produces the > features you're after. > > > > -- William Stein Associate Professor of Mathematics University of Washington http://wstein.org --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
