topo-arcenant/style/header-portrait.sty

25 lines
852 B
Plaintext
Raw Normal View History

2023-10-15 15:49:53 +02:00
\usepackage{scrextend}
\usepackage[english,french]{babel}
\usepackage[utf8]{inputenc}
\usepackage{longtable}
\usepackage{booktabs}
\usepackage{colortbl}
\usepackage[a4paper,top=2cm, bottom=2cm, left=1cm, right=1cm]{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}