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:
\item<2-> The second item
is a better way here – user31729 Jun 11 '17 at 18:31\begin{itemize}[<+->]
– samcarter_is_at_topanswers.xyz Jun 11 '17 at 18:33\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\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:36tcolorbox
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