environnements exclus de la version prof
Cette révision appartient à :
@@ -48,11 +48,6 @@
|
||||
\IfEndWith{\jobname}{\detokenize{-PROF}}{\corr\let\corr\relax\let\corrseul\relax\StrCut{\jobname}{\detokenize{-PROF}}\basejobname\dummy}{}
|
||||
\IfEndWith{\jobname}{\detokenize{-CORRIGE}}{\corrseul\let\corr\relax\let\corrseul\relax\StrCut{\jobname}{\detokenize{-CORRIGE}}\basejobname\dummy}{}
|
||||
|
||||
\def\pasenonce{
|
||||
\excludecomment{enonce}
|
||||
\excludecomment{qcmrep}
|
||||
}
|
||||
|
||||
\def\avecenonce{\newenvironment{enonce}{}{}
|
||||
\edef\@temp{\noexpand\newtheorem{question}{Question}\resetlevel}\@temp
|
||||
\newtheorem{qcm}{QCM}
|
||||
@@ -75,8 +70,10 @@
|
||||
\immediate\typeout{Mode enonce}
|
||||
\excludecomment{corrige}
|
||||
\excludecomment{comcorrige}
|
||||
\excludecomment{comcorrige*}
|
||||
\excludecomment{qcmcorr}
|
||||
\avecenonce
|
||||
\newenvironment{enonce*}{}{}
|
||||
\or %% 1
|
||||
\immediate\typeout{Mode corrige}
|
||||
%
|
||||
@@ -89,7 +86,9 @@
|
||||
\let\r@lastpage\real@lastpage
|
||||
%
|
||||
\subtitle{Corrigé}
|
||||
\pasenonce
|
||||
\excludecomment{enonce}
|
||||
\excludecomment{enonce*}
|
||||
\excludecomment{qcmrep}
|
||||
\edef\@temp{\noexpand\newcounter{question}\resetlevel}\@temp
|
||||
\specialcomment{question}{\refstepcounter{question}\begingroup\def\ProcessCutFile{}}{\endgroup}
|
||||
\newtheorem{corrige}{Question}
|
||||
@@ -101,6 +100,7 @@
|
||||
\newtheorem{qcmcorr}{QCM}
|
||||
\let\theqcmcorr\theqcm
|
||||
\newenvironment{comcorrige}{}{}
|
||||
\newenvironment{comcorrige*}{}{}
|
||||
\or %% 2
|
||||
\immediate\typeout{Mode professeur}
|
||||
\subtitle{Corrigé}
|
||||
@@ -108,6 +108,8 @@
|
||||
\newenvironment{comcorrige}{\begin{mdframed}[backgroundcolor=gray!20, skipbelow=1ex]}{\end{mdframed}}
|
||||
\newenvironment{qcmcorr}{\begin{mdframed}[backgroundcolor=gray!20, skipbelow=1ex]}{\end{mdframed}}
|
||||
\avecenonce
|
||||
\excludecomment{enonce*}
|
||||
\excludecomment{comcorrige*}
|
||||
\or %% 3
|
||||
\subtitle{Corrigé}
|
||||
\edef\@temp{\noexpand\newtheorem{corrige}{Question}\resetlevel}\@temp
|
||||
|
||||
Référencer dans un nouveau ticket
Bloquer un utilisateur