Consider the following example of table created with the siunitx package (in a beamer presentation, but that should not be important):
Code: Select all
\documentclass[hyperref={pdfpagelabels=false}]{beamer}
\usepackage{booktabs}
\usepackage{siunitx}
\usepackage{color}
\begin{document}
\begin{frame}
\begin{center}
\begin{tabular}{lSS}
\toprule
Header & {Header} & {Header} \\
\midrule
Example & -25.0 & 2.5 \\
Example & 0.4 & 2.0 \\
Example & 3.3 & 0.7 \\
\bottomrule
\end{tabular}
\label{tab:example}
\end{center}
\end{frame}
\end{document}
I would like to color the text of two rows in a simple manner.
I can change the color of a single cell adding a command like
Code: Select all
\color{red}
Can you help me?