48 lines
1.2 KiB
OpenEdge ABL
48 lines
1.2 KiB
OpenEdge ABL
|
\NeedsTeXFormat{LaTeX2e}
|
||
|
|
||
|
\ProvidesClass{classBilan}
|
||
|
|
||
|
% classe de base
|
||
|
|
||
|
\LoadClass[a5paper,12pt]{article}
|
||
|
|
||
|
|
||
|
% extensions
|
||
|
|
||
|
\RequirePackage{/media/documents/Cours/Prof/Enseignements/tools/style/base}
|
||
|
\RequirePackage{/media/documents/Cours/Prof/Enseignements/tools/style/theme}
|
||
|
|
||
|
\RequirePackage{xcolor,colortbl}
|
||
|
|
||
|
\pagestyle{empty}
|
||
|
|
||
|
\RequirePackage{geometry}
|
||
|
%\geometry{landscape}
|
||
|
\geometry{left=5mm,right=5mm,top=10mm, bottom= 20mm}
|
||
|
|
||
|
% Séparation au milieu
|
||
|
\setlength{\columnsep}{5pt} % default=10pt
|
||
|
\setlength{\columnseprule}{0pt} % default=0pt (no line)
|
||
|
|
||
|
|
||
|
% Décorations
|
||
|
\newcommand{\op@classe}{}
|
||
|
\newcommand{\op@titre}{}
|
||
|
\newcommand{\classe}[1]{\renewcommand{\op@classe}{#1}}
|
||
|
\newcommand{\titre}[1]{\renewcommand{\op@titre}{#1}}
|
||
|
\newcommand{\op@soustitre}{\op@classe{} \hfill \@date{}}%
|
||
|
|
||
|
\renewcommand{\maketitle}{%
|
||
|
\noindent{\huge \color{title}\bfseries Bilan \op@titre}\par
|
||
|
\noindent{\color{line}\rule{\linewidth}{1ex}}\par
|
||
|
\noindent{\color{subtitle}\bfseries \op@soustitre}\par
|
||
|
\vspace{1.5\baselineskip}
|
||
|
}
|
||
|
|
||
|
% Les couleurs de la réussite
|
||
|
\newcommand{\NoRep}{/}
|
||
|
\newcommand{\RepZ}{\cellcolor{black!05}}
|
||
|
\newcommand{\RepU}{\cellcolor{black!30}}
|
||
|
\newcommand{\RepD}{\cellcolor{black!60}}
|
||
|
\newcommand{\RepT}{\cellcolor{black}}
|