I write many problem sheets. The basic structure is thus:
\section{Questions}
\begin{enumerate}
\item Question 1
\item Question 2
\item Question 3
\end{enumerate}
\section{Answers}
\begin{enumerate}
\item Answer to Question 1
\item Answer to Question 2
\item Answer to Question 3
\end{enumerate}
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.
exsheets,probsln,answers,exametc. all provide this, in a more or less easy way, with different features. The CTAN archive is worth looking into it ;-) – Apr 12 '16 at 13:36examclass 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:44tcolorbox: http://tex.stackexchange.com/a/224429/1952 – Ignasi Apr 12 '16 at 15:20