fin du hack moche
Cette révision appartient à :
@@ -47,6 +47,11 @@
|
||||
{\IfValueT{##1}{\begingroup\setlength\columnseprule{0pt}\begin{multicols}{##1}}\begin{enumerate}\renewcommand\theenumi{\Alph{enumi}}}{\end{enumerate}\IfValueT{##1}{\end{multicols}\endgroup}}}
|
||||
|
||||
|
||||
\def\setthe#1{\@ifnextchar[{\setthei{#1}}{}}
|
||||
\def\setthei#1[#2]{%
|
||||
\expandafter\let\expandafter\@temp\csname the#1\endcsname
|
||||
\toks@\expandafter{\@temp}%
|
||||
\expandafter\xdef\csname the#1\endcsname{\expandafter\noexpand\csname the#2\endcsname\@thmcountersep\the\toks@}}
|
||||
|
||||
|
||||
|
||||
@@ -74,7 +79,7 @@
|
||||
\edef\@temp{\noexpand\newcounter{question}\resetlevel}\@temp
|
||||
\specialcomment{question}{\refstepcounter{question}\begingroup\def\ProcessCutFile{}}{\endgroup}
|
||||
\newtheorem{corrige}{Question}
|
||||
\def\thequestion{\thesection.\arabic{question}} %% hack moche à améliorer
|
||||
\edef\@temp{\noexpand\setthe{question}\resetlevel}\@temp
|
||||
\let\thecorrige\thequestion
|
||||
%
|
||||
\newcounter{qcm}
|
||||
|
||||
Référencer dans un nouveau ticket
Bloquer un utilisateur