5

I'm trying to put a description environment with some data in my presentation. But pdflatex compiles it without showing the part in [] of \item.

Minimal reproducing example:

\documentclass{beamer}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usetheme{Bergen}
\usefonttheme[onlymath]{serif}
\usecolortheme{orchid}
\begin{document}
\begin{frame}
    \begin{description}
        \item[equ] lorem
        \item[$p = -\left(1 + \left(\dfrac{k}{k_g}\right)^2\right)$] ipsum.
    \end{description}
\end{frame}
\end{document}

Result: enter image description here

I've found that this is a problem with the color theme: orchid. But I have no idea how to fix it.

Andrew Swann
  • 95,762
m0nhawk
  • 9,664
  • 1
    \usepackage{enumitem} in the preamble? – hpesoj626 Dec 20 '12 at 10:15
  • I found that it didn't work, same problems as here. – m0nhawk Dec 20 '12 at 10:33
  • 2
    The Bergen theme loads \usecolortheme{orchid} and \useinnertheme{inmargin}, and it seems to be the combination of the two that causes the issue (removing \usecolortheme{orchid} from your MWE has no improvement). The description headings are there but they are in white, the same as the background colour. – cyberSingularity Dec 20 '12 at 11:10

1 Answers1

4

The inheritance of colors in beamer isn't easy to follow but imho

\setbeamercolor{item}{parent=structure}

is the best to get around the problem.

Ulrike Fischer
  • 327,261