Take the 2-minute tour ×

I am creating a set of problems, with the bonus problems starred with an *, but when I use \bonusqformat to customize the mark, it pushes the text onto a new line. Is there any way to prevent this from happening?



\bonusqformat{\thequestion *.}
\bonusquestion This is a question.



share|improve this question
This is the default behavior of exam. The question title (typeset according to \qformat or \bonusqformat) is on a line by itself and the question text is below it. –  egreg Jan 17 '13 at 12:47
I understand this is the default behaviour, I'm more looking for a way to overcome it, whilst still having the starred questions. –  Nathanael Farley Jan 17 '13 at 13:22
Thanks for pointing that out @egreg, prompted me to look elsewhere for the answer! Posted it below. –  Nathanael Farley Jan 17 '13 at 13:33
add comment

1 Answer

up vote 4 down vote accepted

Turns out that because of the default behaviour of \bonusqformat (pointed out by egreg), it is easier to achieve this effect by the following code in the preamble:


This code redefines the question label for bonus questions and makes a new label for them.

Result from the MWE with the extra code in the preamble MWE working!

share|improve this answer
add comment

Your Answer


