un \explain par \wrongchoice?

Added by Martin Quinson about 22 hours ago

Bonjour,

je voudrais faire une correction détaillée, mais le code suivant me donne l'erreur "perhaps a missing \item". Pourtant d'après le code j'avais l'impression qu'on pouvait mettre plusieurs \explain par environnment {choices}, non ? Comment puis-je corriger mon problème ?

Merci de votre aide,
Martin

eval9bis.tex (443 Bytes)


Replies (2)

RE: un \explain par \wrongchoice? - Added by Frédéric Bréal about 15 hours ago

Dans l'environnement réponses AMC attend uniquement \wrongchoice ou \correctchoice.

\documentclass[a4paper]{article}
\usepackage[correc]{automultiplechoice}
\geometry{left=15mm,right=15mm}
\begin{document}

\begin{examcopy}[36]
  \begin{question}{bop}
  BiBop

  \begin{choices}
    \correctchoice{Good answer \explain{Why it's true.}}

    \wrongchoice{Wrong answer \explain{Why it's wrong.}}

    \wrongchoice{Another wrong answer \explain{Another explanation.}}
  \end{choices}
 \end{question}
\end{examcopy}

\end{document}

RE: un \explain par \wrongchoice? - Added by Martin Quinson about 12 hours ago

Super ! Merci beaucoup, ça marche nickel. Si possible, je suggère d'ajouter quelque chose comme ça aux exemples de la doc, svp.

Merci pour ce super outil,
Mt

(1-2/2)