William,

`\mbox{\rm\LaTeX}`

gets me the stylized "LaTeX" logo in the HTML output of the reference
manual.

So maybe wrapping in a "\mbox"  (or should I say in "an \mbox"?) will
do it?

Rob

On Aug 30, 4:58 pm, William Stein <[email protected]> wrote:
> Hi,
>
> 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?  There are tons of operators like Gal, Hom, Frob, etc.,
> but no matter what I do, when in ReST-mode they always get typeset in
> italics -- I can't get them to get typeset in Roman.    I am OK with having
> to write something like \text{Gal}, but even that doesn't work.
>
> 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.
>
> Thanks for any help.
>
>  -- William
>
> --
> William Stein
> Associate Professor of Mathematics
> University of Washingtonhttp://wstein.org
--~--~---------~--~----~------------~-------~--~----~
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