Create a gist now

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Colored sample table
\begin{table}
\caption{Table caption}
\centering
\rowcolors{1}{loco3blue!17}{loco3blue!7}
\begin{tabular}{l | r r | r r}
& \multicolumn{2}{>{\columncolor{loco3blue!17}}c|}{A} & \multicolumn{2}{>{\columncolor{loco3blue!17}}c}{B} \\
Foo & 1 & 2 & 1 & 2\\
\hline
1 & a & b & c & d\\
\hline
\end{tabular}
\end{table}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment