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 am trying to build a frame with 2 column. I have overlays in both columns and I want then to be displayed sequentially. I mean, first all the contents of first column (with the overlays) and then the contents of second column (also with its overlays). Here is the MWE:

\documentclass{beamer}

\usepackage{arev}

\begin{document}

\begin{frame}{test}

\begin{columns}[t]

\column{0.5\textwidth}

\begin{center}
\rule{1cm}{1cm}
\only<2->{\vskip2pt \rule{1cm}{1cm}}
\only<3->{\vskip2pt \rule{1cm}{1cm}}
\end{center}

\column{0.5\textwidth}

\begin{itemize}
\item<4-> aaa
\item<5-> bbb
\item<6-> ccc
\end{itemize}

\end{columns}

\end{frame}

\end{document}

To be specific, I want the structure:

\begin{itemize}
\item<4-> aaa
\item<5-> bbb
\item<6-> ccc
\end{itemize}

To be replaced with something like:

\begin{itemize}[<+->]
\item aaa
\item bbb
\item ccc
\end{itemize}

I tested various approaches with \only<>{} \visible<>{} but nothing worked.

share|improve this question
    
Just a side note: the \columns don't matter for the behaviour you observed. –  Hendrik Vogt Sep 28 '12 at 16:15
    
You are right. I typed them because that was the layout that I wanted. –  cacamailg Sep 28 '12 at 19:54

1 Answer 1

up vote 8 down vote accepted

One possibility:

\documentclass{beamer}
\usepackage{arev}

\begin{document}

\begin{frame}{test}
\begin{columns}[t]
\column{0.5\textwidth}
\begin{center}
\rule{1cm}{1cm}
\only<2->{\vskip2pt \rule{1cm}{1cm}}
\only<3->{\vskip2pt \rule{1cm}{1cm}}
\end{center}
\column{0.5\textwidth}
\begin{itemize}[<+(3)->]
\item aaa
\item bbb
\item ccc
\end{itemize}
\end{columns}
\end{frame}

\end{document}

The syntax +(<number>) adds <number> to the value of the counter beamerpauses.

This is even more automated since you don't need to manually control counters:

\documentclass{beamer}
\usepackage{arev}

\begin{document}

\begin{frame}{test}
\begin{columns}[t]
\column{0.5\textwidth}
\begin{center}
\onslide<+->{\rule{1cm}{1cm}}
\onslide<+->{\vskip2pt \rule{1cm}{1cm}}
\onslide<+->{\vskip2pt \rule{1cm}{1cm}}
\end{center}
\column{0.5\textwidth}
\begin{itemize}[<+->]
\item aaa
\item bbb
\item ccc
\end{itemize}
\end{columns}
\end{frame}

\end{document}

enter image description here

Or using \only instead of \onslide (depending on the intended effect).

share|improve this answer
    
The first solution works fine. In the second the blocks that are no printed become gray, what I don't want. Because I have also \setbeamercovered{transparent}, which I didn't put in the MWE. –  cacamailg Sep 24 '12 at 3:29
    
@cacamailg then, you can use \only instead of \onslide everywhere in the second solution. –  Gonzalo Medina Sep 24 '12 at 3:35
    
Thanks! It works very nice. –  cacamailg Sep 24 '12 at 11:56

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.