Exercises and solutions from same source, into a book.
The packageThe exsol package provides macros to allow for
embedding exercises and solutions in the LaTeX source of an
instructional text (e.g., a book or a course text) while
generating the following separate documents:
– your original text that only contains the exercises, and
– a solution book that contains only the solutions to the
exercises (optionally, the exercises themselves are also copied to
the solution book).
The exercise data are generated when running LaTeX on your document; the first run also writes the solutions to a secondary file that may be included in a simple document harness, may be processed by LaTeX, to generate a nice solution book.
The code of the package was derived (in large part) from fancyvrb.
The author is Walter Daems. The package is Copyright © 2012 Walter Daems.
License: lppl1.3 Version: 0.6 Catalogued: 2013-06-19
Visit
Visit Dante:/macros/latex/contrib/exsol
Download
Documentation
Package documentation: exsol.pdf.
Distributions
This package is included in MikTeX.