compiled-with-solution's flag ?

Added by Julien GIBELIN over 1 year ago

Dear all,

I generated QCM with random values.
I use \AMCnumericChoices for the students to fill the values but I would like, for me, to have the numerical value printed somewhere.
Is it possible ?
I can write the code myself but is there any flag like "compiled for solution" ?

Thank you in advance,
Best regards


Replies (3)

RE: compiled-with-solution's flag ? - Added by Alexis Bienvenüe over 1 year ago

Unfortunately, there is currently no such flag.

RE: compiled-with-solution's flag ? - Added by Julien GIBELIN over 1 year ago

Thank you for your answer.

So what is the mechanism you use to differentiate between the compilation of the subject and the compilation of the solution?
I could not figure it out in the *.sty file.

Regards
JG

RE: compiled-with-solution's flag ? - Added by Julien GIBELIN over 1 year ago

I come back to you.

I found the flag, which is \ifAMC@correc

It works for me.

Thank you
JG

(1-3/3)