[sage-devel] Re: Sphinx/ReST question

2009-08-31 Thread Martin Albrecht
On Monday 31 August 2009, Carlo Hamalainen wrote: > Also \textnormal{Foo} works in math mode and will force things to be > the normal paragraph font even inside lemma or theorem environments > with an italic font. AFAIK this is the preferred solution because it doesn't presuppose anything about

[sage-devel] Re: Sphinx/ReST question

2009-08-30 Thread Carlo Hamalainen
On Mon, Aug 31, 2009 at 5:58 AM, William Stein wrote: > Perfect, \mathrm worked like a charm.  Thanks! Also \textnormal{Foo} works in math mode and will force things to be the normal paragraph font even inside lemma or theorem environments with an italic font. -- Carlo Hamalainen http://carlo-h

[sage-devel] Re: Sphinx/ReST question

2009-08-30 Thread William Stein
On Sun, Aug 30, 2009 at 7:41 PM, John H Palmieri wrote: > > On Aug 30, 4:58 pm, William Stein 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 depre

[sage-devel] Re: Sphinx/ReST question

2009-08-30 Thread John H Palmieri
On Aug 30, 4:58 pm, William Stein 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 ra

[sage-devel] Re: Sphinx/ReST question

2009-08-30 Thread Rob Beezer
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 wrote: > Hi, > > If I am writing a Spninx docstring in Sage, and I want