On Sun, Aug 30, 2009 at 7:41 PM, John H Palmieri <jhpalmier...@gmail.com>wrote:
> > On Aug 30, 4:58 pm, William Stein <wst...@gmail.com> wrote: > > If I am writing a Spninx docstring in Sage, and I want to write, e.g., > > > > `{\rm Gal}(K/L)` > > > > how do I do this? > > For me, `\mathrm{Gal}(K/L)` works: in Latex, {rm Gal} is deprecated in > favor of \mathrm{Gal} (or \textrm{Gal} if you're in text mode rather > than math mode). I guess jsMath doesn't do the old version. > > > By the way, one of the best ways to test Sphinx docstrings is actually to > > just paste them into a function definition in a notebook cell, then > evaluate > > it, and introspect the function. That allows for easy experimentation > and > > testing without restarting Sage. > > That's a great idea -- I hadn't thought of that. > > John Perfect, \mathrm worked like a charm. Thanks! Here's a little screen shot: http://wstein.org/home/wstein/tmp/jsmath.jpg William --~--~---------~--~----~------------~-------~--~----~ 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 URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---