I have a small issue with the following LaTeX code:
Code: Select all
\documentclass[a4paper,12pt]{article}
\usepackage{tabulary}
\usepackage{colortbl}
\usepackage{array}
\begin{document}
\begin{table}[H]
\centering
\caption{Table with red and cyan background colors}
\begin{tabular}{|c|c|}
\rowcolor{red}
\hline
a & \c t\\
\hline
\rowcolor{cyan}
a & \c s\\
\hline
\end{tabular}
\end{table}
\end{document}
Am I missing something here?
Thank you!