This has probably been answered somewhere, but I can't find it from some searching. I sometimes want to write something like Leb for lebesgue measure, and I would like it to be non-italicized, so I usually use \text{Leb} in math mode, but this has the annoyance that it changes inside of an italicized (ams) theorem environment. I usually just hack this and write \text{\emph{Leb}} but clearly this is not ideal.
Is there a replacement for \text that won't inherit this italicizing? Alternatively, is there a more clever hack, in which I can make my macro detect if its going to be italicized and then automatically put in the \emph hack? Clearly the first would be ideal, but the second would also be acceptable.
\text{\textrm{Leb}}or\text{\textnormal{Leb}}? It always set "Leb" is roman (i.e. normal) font. The\emphhack is kind of ugly. It only works because an\emphinside a\emphis set in roman font again. – Martin Scharrer Apr 04 '11 at 12:43\textrmone does not work for me, but the text normal does. Thanks for the tip! – Otis Apr 04 '11 at 13:04