I write many problem sheets. The basic structure is thus:

        \item Question 1
        \item Question 2
        \item Question 3
        \item Answer to Question 1
        \item Answer to Question 2
        \item Answer to Question 3

Matching questions and answers becomes very time-consuming when I have to add a question, or make a question into a multi-part question with nested enumerate environments. It strikes me that this must be a problem that someone has already solved, but I don't know where to start.

  • 2
    Packages exsheets, probsln, answers, exam etc. all provide this, in a more or less easy way, with different features. The CTAN archive is worth looking into it ;-) – user31729 Apr 12 '16 at 13:36
  • The exam class is great, but as it has been asked here, there is no native way to append append a solution sheet. It only prints questions and, if needed, the respective answer below. – ebosi Apr 12 '16 at 13:44
  • related: tex.stackexchange.com/questions/140943/… – Ruben Apr 12 '16 at 14:36
  • Another solution with tcolorbox: tex.stackexchange.com/a/224429/1952 – Ignasi Apr 12 '16 at 15:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.