this is for holding javascript data
Deyan Ginev edited subsection_Advanced_Table_Colors_subsubsection__.tex
almost 9 years ago
Commit id: d938a2414dcf4650b1e4137ed7c073d03def07c5
deletions | additions
diff --git a/subsection_Advanced_Table_Colors_subsubsection__.tex b/subsection_Advanced_Table_Colors_subsubsection__.tex
index 068099c..94a4354 100644
--- a/subsection_Advanced_Table_Colors_subsubsection__.tex
+++ b/subsection_Advanced_Table_Colors_subsubsection__.tex
...
\subsubsection{Row Colors}
In Section \ref{sec:textcolor} we showed the extended set of colors available through the \verb|xcolor.sty| package. For tables, however, it is also useful to have control over the background color of individual rows. One can set individual rows via the \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} \noindent\begin{minipage}{0.7\textwidth}\flushright
\begin{lstlisting}
\rowcolors{3}{green!80!yellow!50}{green!70!yellow!40}
\begin{tabular}{|c|}
\hline