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{-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}{}
|
\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}{}{}
|
\def\avecenonce{\newenvironment{enonce}{}{}
|
||||||
\edef\@temp{\noexpand\newtheorem{question}{Question}\resetlevel}\@temp
|
\edef\@temp{\noexpand\newtheorem{question}{Question}\resetlevel}\@temp
|
||||||
\newtheorem{qcm}{QCM}
|
\newtheorem{qcm}{QCM}
|
||||||
@@ -75,8 +70,10 @@
|
|||||||
\immediate\typeout{Mode enonce}
|
\immediate\typeout{Mode enonce}
|
||||||
\excludecomment{corrige}
|
\excludecomment{corrige}
|
||||||
\excludecomment{comcorrige}
|
\excludecomment{comcorrige}
|
||||||
|
\excludecomment{comcorrige*}
|
||||||
\excludecomment{qcmcorr}
|
\excludecomment{qcmcorr}
|
||||||
\avecenonce
|
\avecenonce
|
||||||
|
\newenvironment{enonce*}{}{}
|
||||||
\or %% 1
|
\or %% 1
|
||||||
\immediate\typeout{Mode corrige}
|
\immediate\typeout{Mode corrige}
|
||||||
%
|
%
|
||||||
@@ -89,7 +86,9 @@
|
|||||||
\let\r@lastpage\real@lastpage
|
\let\r@lastpage\real@lastpage
|
||||||
%
|
%
|
||||||
\subtitle{Corrigé}
|
\subtitle{Corrigé}
|
||||||
\pasenonce
|
\excludecomment{enonce}
|
||||||
|
\excludecomment{enonce*}
|
||||||
|
\excludecomment{qcmrep}
|
||||||
\edef\@temp{\noexpand\newcounter{question}\resetlevel}\@temp
|
\edef\@temp{\noexpand\newcounter{question}\resetlevel}\@temp
|
||||||
\specialcomment{question}{\refstepcounter{question}\begingroup\def\ProcessCutFile{}}{\endgroup}
|
\specialcomment{question}{\refstepcounter{question}\begingroup\def\ProcessCutFile{}}{\endgroup}
|
||||||
\newtheorem{corrige}{Question}
|
\newtheorem{corrige}{Question}
|
||||||
@@ -101,6 +100,7 @@
|
|||||||
\newtheorem{qcmcorr}{QCM}
|
\newtheorem{qcmcorr}{QCM}
|
||||||
\let\theqcmcorr\theqcm
|
\let\theqcmcorr\theqcm
|
||||||
\newenvironment{comcorrige}{}{}
|
\newenvironment{comcorrige}{}{}
|
||||||
|
\newenvironment{comcorrige*}{}{}
|
||||||
\or %% 2
|
\or %% 2
|
||||||
\immediate\typeout{Mode professeur}
|
\immediate\typeout{Mode professeur}
|
||||||
\subtitle{Corrigé}
|
\subtitle{Corrigé}
|
||||||
@@ -108,6 +108,8 @@
|
|||||||
\newenvironment{comcorrige}{\begin{mdframed}[backgroundcolor=gray!20, skipbelow=1ex]}{\end{mdframed}}
|
\newenvironment{comcorrige}{\begin{mdframed}[backgroundcolor=gray!20, skipbelow=1ex]}{\end{mdframed}}
|
||||||
\newenvironment{qcmcorr}{\begin{mdframed}[backgroundcolor=gray!20, skipbelow=1ex]}{\end{mdframed}}
|
\newenvironment{qcmcorr}{\begin{mdframed}[backgroundcolor=gray!20, skipbelow=1ex]}{\end{mdframed}}
|
||||||
\avecenonce
|
\avecenonce
|
||||||
|
\excludecomment{enonce*}
|
||||||
|
\excludecomment{comcorrige*}
|
||||||
\or %% 3
|
\or %% 3
|
||||||
\subtitle{Corrigé}
|
\subtitle{Corrigé}
|
||||||
\edef\@temp{\noexpand\newtheorem{corrige}{Question}\resetlevel}\@temp
|
\edef\@temp{\noexpand\newtheorem{corrige}{Question}\resetlevel}\@temp
|
||||||
|
|||||||
Référencer dans un nouveau ticket
Bloquer un utilisateur