I use eqexam for creating Multiple Choice Questions with randomized answers. Let's take the following example:



In what year did Columbus sail the ocean blue?
    \Ans0 1st random choice\eAns
    \Ans1\label{eq} 2nd (the correct) random choice\eAns
    \Ans0 3rd random choice\eAns
    \Ans0 4th random choice\eAns
    \Ans0 5th random chioce\eAns
    \Ans0 None of these\eAns


which produces the following output: PDF output

I want to be able to customize the problem and answers environments, more exactly, to put the problem number inside a \fbox and change the text size, and also the way the choices are numbered - I want to put capital letters A, B, C, ... inside \fbox, but I don't know how this can be done.

1 Answer 1




and put

\def\exlabelformat{\fbox{\textbf{\theeqquestionnoi.}}\ }

in your preamble.

  • A tip: If you indent lines by 4 spaces, they'll be marked as a code sample, as I did in my edit. You can also highlight the code and click the "code" button (with "{}" on it).
    – doncherry
    Commented Jan 11, 2012 at 14:54
  • Indeed, using showgrayletters, forpaper and useforms options does part of the trick, the other options seem not to be relevant to my case. Also, redefining \exlabelformat seems to help. Commented Jan 11, 2012 at 15:04

You must log in to answer this question.

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