- delete some defined shortcut

- fix a bug in numbering the "partie" and "sspartie"
This commit is contained in:
Jeff Lance 2016-05-10 23:04:42 +02:00
parent 06abd8d320
commit 753d37440c

View File

@ -133,9 +133,12 @@
% (sous)partie % (sous)partie
\newcounter{partiecounter} \newcounter{partiecounter}
\newcounter{sspartiecounter}
\NewDocumentCommand \partie { G{Partie} } {% \NewDocumentCommand \partie { G{Partie} } {%
\def\cType{\Roman} \def\cType{\Roman}
\stepcounter{partiecounter} \stepcounter{partiecounter}
\setcounter{sspartiecounter}{0}
\section{#1} \section{#1}
\begin{frame} \begin{frame}
\begin{center} \begin{center}
@ -146,7 +149,6 @@
\end{frame} \end{frame}
} }
% %
\newcounter{sspartiecounter}
\NewDocumentCommand \sspartie { G{Sous-Partie} } {% \NewDocumentCommand \sspartie { G{Sous-Partie} } {%
\def\cType{\arabic} \def\cType{\arabic}
\stepcounter{sspartiecounter} \stepcounter{sspartiecounter}
@ -258,6 +260,7 @@
}% }%
]{}{VPlayer.swf}% ]{}{VPlayer.swf}%
} }
%--% %--%