I am currently writing up notes using the book class with three parts, one for lecturers notes, one for mine, and one for practice questions. I love the exam class for formatting questions, but I want the book class for all the formatting. Is there some way to integrate the question environment into this book class without just copying the needed parts from exam.cls or book.cls into my document/into a new package?
\documentclass{book} % I want it formatted like a book
%\documentclass[answers]{exam} % But have questions formatted like exam
\begin{document}
\title{My Revision Book}
\maketitle
\part{Notes}
% 'normal' LaTeX
\part{Practice questions/past exam papers}
\begin{questions}
\question
How long is a piece of string
\begin{solution}
This long $\leftarrow\rightarrow$ (not to scale).
\end{solution}
\end{questions}
\end{document}
exsheetspackage might be an alternative for you? – cgnieder Dec 21 '12 at 15:35