From 753d37440cf1a19086609ab118c161e468dda69c Mon Sep 17 00:00:00 2001 From: Jeff LANCE Date: Tue, 10 May 2016 23:04:42 +0200 Subject: [PATCH] - delete some defined shortcut - fix a bug in numbering the "partie" and "sspartie" --- cours/cours_beamer.cls | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cours/cours_beamer.cls b/cours/cours_beamer.cls index bd67102..59898dc 100644 --- a/cours/cours_beamer.cls +++ b/cours/cours_beamer.cls @@ -133,9 +133,12 @@ % (sous)partie \newcounter{partiecounter} +\newcounter{sspartiecounter} + \NewDocumentCommand \partie { G{Partie} } {% \def\cType{\Roman} \stepcounter{partiecounter} + \setcounter{sspartiecounter}{0} \section{#1} \begin{frame} \begin{center} @@ -146,7 +149,6 @@ \end{frame} } % -\newcounter{sspartiecounter} \NewDocumentCommand \sspartie { G{Sous-Partie} } {% \def\cType{\arabic} \stepcounter{sspartiecounter} @@ -258,6 +260,7 @@ }% ]{}{VPlayer.swf}% } + %--%