1

I have a multipage pdf image and I want to put it into a beamer slide with an itemize environment in overlay. I want the page of the pdf image to automatically scroll each time an item appears.

In other words, I'm wondering whether there exists an option like <+-> for \includegraphics (the documentation of graphicx doesn't say anything about that).

\begin{columns}
    \begin{column}{.45\linewidth}
    \begin{overlayarea}{\linewidth}{.25\textheight}
        \only<1>{\includegraphics[page=1]{img/multipage}}
        \only<2>{\includegraphics[page=2]{img/multipage}}
        \only<3>{\includegraphics[page=3]{img/multipage}}
        \only<4>{\includegraphics[page=4]{img/multipage}}
    \end{overlayarea}
    \end{column}
        \begin{column}{.55\linewidth}
    \begin{itemize}
        \item<2-> first item, appears on page 2
        \item<3-> second item, appears on page 3
        \item<4-> third item, appears on page 4
        \item<4-> fourth item, appears on page 4
    \end{itemize}
        \end{column}
\end{columns}

Another (very annoying) issue is that the figure "walks" around the frame at each page. I've tried using overlayarea but it does not seem to solve the problem.

Any suggestions?

  • Welcome to TeX.SX! Please make your code compilable (if possible), or at least complete it with \documentclass{...}, the required \usepackage's, \begin{document}, and \end{document}. That may seem tedious to you, but think of the extra work it represents for TeX.SX users willing to give you a hand. Help them help you: remove that one hurdle between you and a solution to your problem. – Martin Schröder Jan 3 '16 at 15:18
1

There is indeed such an option: \includegraphics<+>[page=1]{example-image}

\documentclass{beamer}

\begin{document}

\begin{frame}
    \begin{columns}
        \begin{column}{.45\linewidth}
        \begin{overlayarea}{\linewidth}{.25\textheight}
            \includegraphics<+>[page=1]{example-image}
            \includegraphics<+>[page=1]{example-image-a}
            \includegraphics<+>[page=1]{example-image-b}
            \includegraphics<+>[page=1]{example-image-c}
        \end{overlayarea}
        \end{column}
            \begin{column}{.55\linewidth}
        \begin{itemize}
            \item<2-> first item, appears on page 2
            \item<3-> second item, appears on page 3
            \item<4-> third item, appears on page 4
            \item<4-> fourth item, appears on page 4
        \end{itemize}
            \end{column}
    \end{columns}

\end{frame} 

\end{document}

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.