1

I am making some slides for a presentation. I am copying parts of a texfile which I made earlier. The \emph{} command is not working in beamer (even though it is working in my original texfile).

For example, this code which is working in the original file is not working in beamer:

\begin{theorem}
{
 |\emph{Gal}(L|K)|=[F:K]
}
\end{theorem}

But this is working:

\begin{theorem}
{
 |Gal(L|K)|=[F:K]
}
\end{theorem}

But the 'Gal' is italic (I want it to be straight).

8
  • 7
    By default, \emph works without problem within beamer. Can you provide a minimal example that replicates this problematic behaviour?
    – Werner
    Apr 26, 2017 at 5:55
  • @Werner I edited the question. I have given the code in my question. Apr 26, 2017 at 6:34
  • 1
    @learning_math: I should have been a bit more specific. Please read I've just been asked to write a minimal example, what is that?
    – Werner
    Apr 26, 2017 at 6:38
  • In beamer this is a little tricky because of the fonts, so \mathrm might end up wrong. Since this is clearly a function I'd use \operatorname if this is just a one of. Why is his math not in math mode?
    – daleif
    Apr 26, 2017 at 6:46
  • 2
    @Schweinebacke in any case, theorems in beamer is in italic, so \text will be italic no matter how the OP writes it, math or not. Here the issue is just that \emph does not do anti-italic in an italic context.
    – daleif
    Apr 26, 2017 at 9:38

0

Browse other questions tagged or ask your own question.