topo-bouilland/style/header.sty

34 lines
1.0 KiB
Plaintext
Raw Normal View History

\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}
2023-07-26 16:15:45 +02:00
\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}
2023-07-26 16:15:45 +02:00
\backgroundsetup{
scale=1,
color=white,
2023-07-26 17:18:23 +02:00
opacity=0.1,
2023-07-26 16:15:45 +02:00
angle=0,
contents={\includegraphics[width=\paperwidth,height=\paperheight]{images/background.png}}
}