On Aug 30, 4:58 pm, William Stein <[email protected]> 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


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

Reply via email to