So I have the following code:
Code: Select all
\documentclass{article}
\usepackage{array}
\usepackage{colortbl}
\begin{document}
\begin{table}
\begin{tabular}{ccc}
\rowcolor[rgb]{1,0,0}
Hello & \multicolumn{2}{c}{Goodbye}
\end{tabular}
\end{table}
\end{document}
This can be fixed if I do:
Code: Select all
\begin{table}
\begin{tabular}{ccc}
\rowcolor[rgb]{1,0,0}
Hello & \multicolumn{2}{>{\columncolor[rgb]{1,0,0}}c}{Goodbye}
\end{tabular}
\end{table}
thanks for any help
Andrew