The International Baccalaureate formats the space for candidate responses with “dotted lines in box”. I was mildly peeved since the change that I couldn’t typeset questions with the exact same format. Here is a style file for use with the
exam class that sets “IB formatted” questions. This style file sits in the same directory as your
.tex and requires the
tcolorbox package. Your preamble would look something like:
The solutions are to be wrapped in a
% solution goes here
I am not yet familiar enough with the
tcolorbox package to drop the top down so it can be fully symmetric.