How can I use a table with alternately colored rows like this in a beamer
slide? There seems to be a conflict with beamer
and xcolor
. I am using LyX too, bonus marks for something that works well in LyX.
\documentclass{article}
\usepackage[table]{xcolor}
\begin{document}
\begin{center}
\rowcolors{1}{tableShade}{white}
\rowcolors[]{2}{blue!20}{blue!10}
\begin{tabular}{ r p{4cm} l}\hline
\textbf{col1} &\textbf{col2} &\textbf{col3}\\\hline
& & \\
& & \\
& & \\
& & \\
& & \\
& & \\
\end{tabular}
\end{center}
\end{document}
Best Answer
It's easy:
or
You can also use: