topo-bouilland/style/header.sty

34 lines
1.0 KiB
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}
\usepackage{background}
%\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}
\backgroundsetup{
scale=1,
color=white,
opacity=0.1,
angle=0,
contents={\includegraphics[width=\paperwidth,height=\paperheight]{images/background.png}}
}