Any ideas how to overload the choices environment provided by exam class to obtain randomised choices with option to fix any one of the choices?


1 Answer 1


I've written a exam add-on package called exam-randomizechoices which can be found here. Note that it is still in test phase. Documentation is provided (see link).

  • Just what I was looking for! Thanks! By the way, why \CorrectChoice is mandatory in randomizechoices? Can we easily remove this requirement?
    – a-student
    Nov 19, 2018 at 18:11
  • You can omit \CorrectChoice but you will get a warning. And you cannot reference to the correct choice. Nov 19, 2018 at 18:28
  • I somehow always get this error, if I haven't used \Correctchoice. Package exam-randomizechoices Error: You need exactly one \CorrectChoice, I found 0 in question 1. \end{randomizechoices}.
    – a-student
    Nov 20, 2018 at 16:33
  • I've done this so that exam writers are warned when they don't have \CorrectChoice in the choiceset. You can fix this by commenting line 277 of the exam-randomizechoices.stypackage. Nov 21, 2018 at 9:42

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .