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:

\frametitle{Pause in a listing}
  \item The first item
  \pause \item The second item

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

  • 1
    Perhaps \item<2-> The second item is a better way here – user31729 Jun 11 '17 at 18:31
  • 1
    Or if you want this automatically for all items: \begin{itemize}[<+->] – samcarter_is_at_topanswers.xyz Jun 11 '17 at 18:33
  • Right, \item<2-> certainly works, and it'll be at the next slide. But is there a way to make \pause work as well? – Sergei Golovan Jun 11 '17 at 18:34
  • 1
    @SergeiGolovan In my opinion: \pause is a very crude command. In the long run, you will gain more possibilities and fine control if you use alternatives. – samcarter_is_at_topanswers.xyz Jun 11 '17 at 18:36
  • 1
    @SergeiGolovan tcolorbox and \pause don't seem to be friends, another example: tex.stackexchange.com/q/326585/36296 – samcarter_is_at_topanswers.xyz Jun 11 '17 at 18:42

Browse other questions tagged or ask your own question.