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