1

I'm trying to prettyprint a beamer slide with \pause in it using the tcblisting environment. It shows the listing first and then the compiled result. The problem is that the page footer is gone for the first frame (displayed before the \pause).

The MWE is the following:

\documentclass{beamer}
\usetheme{CambridgeUS}
\usepackage[listings]{tcolorbox}
\begin{document}
\begin{frame}[fragile]
\frametitle{Pause in a listing}
\begin{tcblisting}{colback=red!5!white,colframe=red!75!black}
\begin{itemize}
  \item The first item
  \pause \item The second item
\end{itemize}
\end{tcblisting}
\end{frame}
\end{document

Is there a way of getting the footer back? Or may be I'm doing something wrong here? The working \pause is a desirable outcome.

Here are the first and the second PDF pages that come from this example:

Frame 1

Frame 2

0 Answers0