diff --git a/eisvogel.tex b/eisvogel.tex index 64403a0..31c8757 100644 --- a/eisvogel.tex +++ b/eisvogel.tex @@ -544,14 +544,15 @@ $if(tables)$ \arrayrulecolor{table-rule-color} % color of \toprule, \midrule, \bottomrule \setlength\heavyrulewidth{0.3ex} % thickness of \toprule, \bottomrule \renewcommand{\arraystretch}{1.3} % spacing (padding) -\rowcolors{3}{}{table-row-color!100} % row color % Reset rownum counter so that each table % starts with the same row colors. % https://tex.stackexchange.com/questions/170637/restarting-rowcolors \let\oldlongtable\longtable \let\endoldlongtable\endlongtable -\renewenvironment{longtable}{\oldlongtable} { +\renewenvironment{longtable}{ +\rowcolors{3}{}{table-row-color!100} % row color +\oldlongtable} { \endoldlongtable \global\rownum=0\relax}