topo-bouilland/style/header.sty

25 lines
871 B
TeX

\usepackage{scrextend}
\usepackage[english,french]{babel}
\usepackage[utf8]{inputenc}
\usepackage{longtable}
\usepackage{booktabs}
\usepackage{colortbl}
\usepackage[a4paper, landscape,top=2.5cm, bottom=2.5cm, left=2.5cm, right=2.5cm]{geometry}
\usepackage[font=small,labelsep=none]{caption}
%\definecolor{table-row-color}{HTML}{C2ED77}
\definecolor{table-row-color}{HTML}{D5FA96}
\definecolor{table-rule-color}{HTML}{E5F0D3}
%\arrayrulecolor{black!40}
\arrayrulecolor{table-rule-color} % color of \toprule, \midrule, \bottomrule
\setlength\heavyrulewidth{0ex} % thickness of \toprule, \bottomrule
\renewcommand{\arraystretch}{1.2} % spacing (padding)
\let\oldlongtable\longtable
\let\endoldlongtable\endlongtable
\renewenvironment{longtable}{
\rowcolors{1}{}{table-row-color!100} % row color
\oldlongtable} {
\endoldlongtable
\global\rownum=1\relax}