Exercises and solutions
Synopsis
The package ExSol provides macros to allow 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 only contains the solutions to the exercises.
Package
The package is available on CTAN.
Background
Why use ExSol?
- It allows to keep the LaTeX source of your exercises and their solutions in a single file. Away with the nightmare to keep your solutions in sync with the original text.
- It separates exercises and solutions, allowing you
- to only release the solution book to the instructors of the course
- to encourage students that you provide with the solution book to first try solving the exercises without opening the book; this seems to be easier than not peeking into the solution of an exercise that is typeset just below the exercise itself.
Installation
Take a look at the package documentation on CTAN.
Usage
Take a look at the package documentation on CTAN.
License
The LaTeX Project Public License (lppl) 1.3 or later.
This software is copyrighted but you are granted a license which gives
you, the “user” of the software, legal permission to copy, distribute,
and/or modify the software. However, if you modify the software and then
distribute it (even just locally) you must change the name of the
software, or use other technical means to avoid confusion.