3

I have the following slide:

\documentclass[beamer]{beamerswitch}
\usetheme{metropolis}
\beamerdefaultoverlayspecification{<+->}

\begin{document}
\begin{frame}\frametitle{My title}

  \begin{columns}[t]
    \begin{column}{0.49\textwidth}
      \begin{block}{Left side}
        \begin{itemize}
        \item First item;
        \item Second item;
        \end{itemize}
      \end{block}
    \end{column}

    \begin{column}{0.49\textwidth}
      \begin{block}{Right side}
        \begin{itemize}
        \item First item;
        \item Second item;
        \end{itemize}
      \end{block}
    \end{column}
  \end{columns}
\end{frame}
\end{document}

When I compile it, I get 9 pages. On slides 1-2, only the title appears. "Left side" appears on slide 3, and "Right side" appears on slide 7.

What should I change so that "Left side" appears on slide 1 already and there are no extra steps on slide 2 and 6? I would like to keep the default overlay specification for the document.

EDIT: By trial and error, I found this solution:

\documentclass[beamer]{beamerswitch}
\usetheme{metropolis}
\beamerdefaultoverlayspecification{<+->}

\begin{document}
\begin{frame}\frametitle{My title}
\beamerdefaultoverlayspecification{} %switch off for this slide

  \begin{columns}[t]
    \begin{column}{0.49\textwidth}
      \begin{block}{Left side}
        \begin{itemize}[<+(1)->]
        \item First item;
        \item Second item;
        \end{itemize}
      \end{block}
    \end{column}

    \begin{column}{0.49\textwidth}
      \begin{block}{\uncover<4->{Right side}}
        \begin{itemize}[<+(2)->]
        \item First item;
        \item Second item;
        \end{itemize}
      \end{block}
    \end{column}
  \end{columns}
\end{frame}
\end{document}

I don't understand why it does what it does. If \beamerdefaultoverlayspecification{<+->} is in effect, beamer poses twice after printing the title. Why? It seems something is changing the value of the beamerpauses counter, but if I understand the manual correctly, neither the column nor the block environment is supposed to do that. So what's injecting all these pauses?

2

Next try. [<+(1)->]

\documentclass[beamer]{beamerswitch}
\usetheme{metropolis}
%\beamerdefaultoverlayspecification{<+->}

\begin{document}
\begin{frame}\frametitle{My title}

  \begin{columns}[t]
    \begin{column}{0.49\textwidth}
      \begin{block}{Left side}
        \begin{itemize}[<+(1)->]
        \item First item;
        \item Second item;
        \end{itemize}
      \end{block}
    \end{column}

    \begin{column}{0.49\textwidth}
      \begin{block}{Right side}
        \begin{itemize}[<+(1)->]
        \item First item;
        \item Second item;
        \end{itemize}
      \end{block}
    \end{column}
  \end{columns}
\end{frame}
\end{document}

enter image description here

  • I have dozens of slides. It would be a lot of extra work to add the overlays manually for each. There must be a better way. – GrB Feb 26 at 23:53
  • @GrB Fair enough. I changed the answer. – user121799 Feb 26 at 23:59
  • Again, I need to keep \beamerdefaultoverlayspecification{<+->}. Once you uncomment it, the problem is actually worse: only the title on slides 1-2, "Left slide" on slides 3-4, only "Right side" on slides 7-8. – GrB Feb 27 at 12:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.