[Gllug] OT: Latex \newtheorem

Dan Kolb gllug at eco.li
Mon Mar 9 11:56:38 UTC 2009


On Sun, Mar 08, 2009 at 09:45:03PM +0000, Mark Williams wrote:
> 
> > I'm using \newtheorem{theorem}{Theorem} to create a new environment
> > for type setting mathematical theorems.
> > 
> > However, I want the text in normal Roman, not italic.
> > 
> > I've googled for it but can't find a solution.  Can anyone help?
> 
> The `\theorembodyfont{\rmfamily}' definition (before declaring your
> theorem environment) does this in the standard theorem package that
> comes with the TeX Live distribution of LaTeX2e in Debian.

If that doesn't work, then just use \textrm{Text}.

> <flame>But if all you want to do is mess about with the default
> typefaces set by real typographers, why don't you just use a sodding
> word processor?</flame> :-).

Because there are perfectly good reasons for needing some text typeset in
normal font, even when you're in maths mode. Next question?

Dan
-- 
The bland leadeth the bland and they both shall fall into the kitsch.
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list