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 make a beamer frame with 4 animations on it. I am currently arranging them in a tabular with 2 col and 2 rows.

 \begin{tabular}{cc}

     \animategraphics[...animation arguments ...]{}{}    &
     \animategraphics[...animation arguments ...]{}{}  \\
     \animategraphics[...animation arguments ...]{}{}  &
     \animategraphics[...animation arguments ...]{}{}  

\end{tabular}

I would like to add captions, but I do not know how, I tried putting caption before the cell delimiters, and after the cell delimiters. Any advice?

share|improve this question
1  
your text says 2 col and 2 row but the tabular in your code has three rows, one entry in the first, two entries in the second and one in the third. Can you not just put the caption text under each animation so \ag{}&\ag{}\\cap1&cap2\\ \ag{}&\ag\\cap3&cap4 –  David Carlisle Jun 8 '12 at 23:05
    
That worked for me, thanks alot! –  Seth Jun 8 '12 at 23:19
1  
OK I'll make it an answer then:-) –  David Carlisle Jun 8 '12 at 23:23
add comment

1 Answer

up vote 2 down vote accepted

Your text says 2 col and 2 row but the tabular in your code has three rows, one entry in the first, two entries in the second and one in the third. Can you not just put the caption text under each animation so

 \begin{tabular}{cc}

     \animategraphics[...animation arguments ...]{}{}  & \animategraphics[...animation arguments ...]{}{} \\
caption 1 &  caption 2 \\
     \animategraphics[...animation arguments ...]{}{}  & \animategraphics[...animation arguments ...]{}{}  \\
caption 3 & caption 4

\end{tabular}
share|improve this answer
    
I think I fixed the number of rows and columns in my question can you check that I did? –  Seth Jun 8 '12 at 23:26
    
no it's still wrong it needs to be as I have it (so you could accept my answer:-). Yours has two \\ so that means it has three rows. It has 1 in the first two in the second and one in the third. a 2 by 2 table has \begin{tabular}{cc} a & b \\ c & d \end{tabular} with one \\ and two & –  David Carlisle Jun 8 '12 at 23:32
    
I had my & and my \\ mixed up. Thanks alot David. –  Seth Jun 8 '12 at 23:43
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.