I'm using the exam package to create a mathematics question paper. When printing answers, the \correctchoice command makes the choice letter as well as the text in the choice bold. However, it does not make any mathematic expressions bold.

Is there a way to add this to the document? I think the commands \boldmath and \unboldmath when put around the text will make both normal text and mathematic expressions bold, but I do not know how to "merge" it with the \correctchoice command.


3 Answers 3


The best solution would be to use \correctchoice as a hook and tack \boldmath and \unboldmath onto it that way using a formula of \edef and \expandafters that I've yet to grasp/memorize. See How to add a hook to a macro.

In absence of hooking, I would say


enter image description here

enter image description here

  • This works brilliantly. No need for a new command either. Thanks! Commented Jun 12, 2013 at 11:42

You already seem to have answers that will work, but the exam class provides a hook for customizing the correct choices. If you give the command:


then you'll get what you want. The default behavior was created with the command here:

  • If I can believe my eyes, this is a much better solution than mine -- I didn't see anything like this in the manual XD Commented Jun 17, 2013 at 4:27
  • 1
    @SeanAllred: It's in section 5.6 (Customizations) of examdoc.pdf. Section 5 discusses multiple choice questions. Commented Jun 17, 2013 at 4:33

Reading the answers to this question I was able to do it.


      \CorrectChoice \boldmath#1\unboldmath%
      \CorrectChoice #1%

to the preamble fixed my problem.

  • What's with the optional argument? Commented Jun 12, 2013 at 11:35
  • You're right, there's no need. I tried to change as little as I could of the answer from that question. I'll edit my answer now. Commented Jun 12, 2013 at 11:38

You must log in to answer this question.

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