From 68006b1ab91622c225efb35e6f8424d2d378ab38 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Thu, 11 Jul 2024 12:11:59 +0200 Subject: [PATCH] find possible date --- rapstage.cls | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/rapstage.cls b/rapstage.cls index 37e34ea..8ffe303 100644 --- a/rapstage.cls +++ b/rapstage.cls @@ -68,8 +68,12 @@ \renewcommand{\@title}{TITRE DU RAPPORT} % Date +\newcount\lastyear +\lastyear=\year +\advance\lastyear by -1 + \renewcommand{\date}[1]{\gdef\@date{#1}} -\renewcommand{\@date}{AAAA/AAAA} +\renewcommand{\@date}{\the\lastyear{}/\the\year{}} % Tuteur pédagogique \newcommand{\tuteurpedago}[2]{