COMPGROUPS.NET | Search | Post Question | Groups | Stream | About | Register

### background color of table rows with \pause

• Follow

Say I have a table with 3 rows. I want to set the background color of
the first row to red, second row to blue and third row to green
respectively. Also I want to put animation effect, say  using \pause
after each row, so that the first row comes first then the second row
then the third row. How to do this in latex slides with beamer?

 0

On 20 sep, 18:18, novis <kaushik.sinha...@gmail.com> wrote:
> Say I have a table with 3 rows. I want to set the background color of
> the first row to red, second row to blue and third row to green
> respectively. Also I want to put animation effect, say =A0using \pause
> after each row, so that the first row comes first then the second row
> then the third row. How to do this in latex slides with beamer?

\rowcolors[]{1}{blue!20}{blue!10}
\begin{tabular}{l!{\vrule}cccc}
Class & A & B & C & D \\\hline
X & 1 & 2 & 3 & 4 \pause \\
Y & 3 & 4 & 5 & 6 \pause \\
Z & 5 & 6 & 7 & 8
\end{tabular}

 0

1 Replies
541 Views

Similiar Articles:

7/23/2012 11:33:26 AM