Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I have a frame with the two columns, one for an image, and one for itemized text. For example,

\frame{\frametitle{hello} 

\begin{columns}[onlytextwidth]
    \begin{column}{0.4\textwidth}
      \centering
      \includegraphics[width=40mm]{pic1.png}
    \end{column}

    \begin{column}{0.6\textwidth}
    \begin{itemize}
      \item statement 1
      \item statement 2
    \end{itemize}
    \end{itemize}
    \end{column}
​  \end{columns}


}

I want to specify an overlay, such that pic1 appears along with statement 1 and pic2 appears with statement 2. How do could I do this?

share|improve this question
    
I think you can have a look to this question. The difference is that you should add an overlay to includegraphics. –  Claudio Fiandrino Jul 27 '12 at 13:39
add comment

1 Answer

up vote 3 down vote accepted

Using the fact that both \includegraphics and \item are overlay-aware, you can do somthing like this:

\documentclass{beamer}

\begin{document}

\frame{\frametitle{hello} 
\begin{columns}[onlytextwidth]
    \begin{column}{0.4\textwidth}
      \centering
      \includegraphics<1>[width=40mm]{cat}
      \includegraphics<2>[width=40mm]{ctanlion}
    \end{column}

    \begin{column}{0.6\textwidth}
    \begin{itemize}
      \item<1> statement 1
      \item<2> statement 2
    \end{itemize}
    \end{column}
​  \end{columns}
}
\end{document}

enter image description here

CTAN lion drawing by Duane Bibby.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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