possibilité de compter les questions globalement dans tout le document
Cette révision appartient à :
@@ -1,10 +1,10 @@
|
||||
\makeatletter
|
||||
\@ifundefined{stylecentrale}
|
||||
{\def\resetlevel{section}}
|
||||
{\@ifundefined{resetlevel}{\def\resetlevel{[section]}}{}}
|
||||
{%
|
||||
\renewcommand\thesection{\Roman{section}}%
|
||||
\renewcommand\thesubsection{\thesection.\Alph{subsection}}%
|
||||
\def\resetlevel{subsection}
|
||||
\def\resetlevel{[subsection]}
|
||||
}
|
||||
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
}
|
||||
|
||||
\def\avecenonce{\newenvironment{enonce}{}{}
|
||||
\newtheorem{question}{Question}[\resetlevel]
|
||||
\newtheorem{question}{Question}\resetlevel
|
||||
\def\skipcorrige{}
|
||||
\newtheorem{qcm}{QCM}
|
||||
%
|
||||
@@ -61,7 +61,7 @@
|
||||
\immediate\typeout{Mode corrige}
|
||||
\makeatletter\IfStrEq{\@subtitle}{}{}{\subtitle{Corrigé}}\makeatother
|
||||
\pasenonce
|
||||
\newtheorem{corrige}{Question}[\resetlevel]
|
||||
\newtheorem{corrige}{Question}\resetlevel
|
||||
\newtheorem{qcmcorr}{QCM}
|
||||
\newenvironment{comcorrige}{}{}
|
||||
\def\skipcorrige{\stepcounter{corrige}}
|
||||
|
||||
Référencer dans un nouveau ticket
Bloquer un utilisateur