Update inputTD.sty and paquets.sty

Cette révision appartient à :
Yann Salmon
2021-08-18 13:48:44 +02:00
Parent d8e287643f
révision 7c2ebb1e2c
2 fichiers modifiés avec 5 ajouts et 2 suppressions

Voir le fichier

@@ -47,6 +47,11 @@
\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}{}
\NewDocumentEnvironment{enumq}{o}
{\IfValueT{#1}{\begin{multicols}{#1}}\begin{enumerate}\renewcommand\theenumi{\alph{enumi}}\@ifundefined{thequestion}{\renewcommand\p@enumi{\thecorrige.}}{\renewcommand\p@enumi{\thequestion.}}}{\end{enumerate}\IfValueT{#1}{\end{multicols}}}
\def\avecenonce{\newenvironment{enonce}{}{}
\edef\@temp{\noexpand\newtheorem{question}{Question}\resetlevel}\@temp
\newtheorem{qcm}{QCM}

Voir le fichier

@@ -116,8 +116,6 @@ tex.print([[\addbibresource{]]..dirname(status["filename"])..[[commun.bib}]])
\RequirePackage{multicol}
\newenvironment{enumq}{\begin{enumerate}\renewcommand*{\theenumi}{\alph{enumi}}\@ifundefined{thequestion}{\renewcommand*\p@enumi{\thecorrige.}}{\renewcommand*\p@enumi{\thequestion.}}}{\end{enumerate}}
\newenvironment{multiq}[1]{\begin{multicols}{#1}\begin{enumq}}{\end{enumq}\end{multicols}}
\RequirePackage[nolinks]{qrcode}
\def\marginqrcode#1{\marginparsep=2pt\marginparwidth=.9cm\marginpar{\qrcode[height=.9cm,level=L]{#1}}}