I have a document with a lot of tables. I would like to change the background color of the header row, for all the tables in whole document in one go without having to change the table codes itselves. Any ideas about how to do that?
For alternating colors I use this script:
\usepackage[table]{xcolor}
\definecolor{mycolor}{HTML}{c5ebec}
\let\oldtabular\tabular
\let\endoldtabular\endtabular
\renewenvironment{tabular}{\rowcolors{2}{white}{gold}\oldtabular}{\endoldtabular}
So I need something like the script above, but only for the header row.