Deyan Ginev edited subsection_Advanced_Table_Colors_subsubsection__.tex  almost 9 years ago

Commit id: 2e195f83410e6bab8ca10d2fa730b06344eed786

deletions | additions      

       

\subsection{Advanced Table Colors}  \subsubsection{Row Colors}  In Section \ref{sec:textcolor} we showed the extended set of colors available through the \verb|xcolor.sty| package. For tables, it is also useful to have control over the background color of individual rows. One can set individual rows row colors  via the aptly named  \verb|\rowcolor| macro, and set alternating colors for rows using the \verb|\rowcolors| macro, starting at a particular row offset. Here is an example: \noindent\begin{minipage}{0.7\textwidth}  \begin{lstlisting}