TITLE: Example 1: Examples can be typeset as exercises
AUTHOR:  Hans Petter Langtangen Email: hpl@simula.no at Center for Biomedical Computing, Simula Research Laboratory & Department of Informatics, University of Oslo
DATE:  today



Examples can start with a subsection heading starting with `Example:`
and then, with the command-line option `--examples_as_exercises` be
typeset as exercises. This is useful if one has solution
environments as part of the example.

#--- begin subexercise ---
__a)__
State some problem.

__Solution.__
The answer to this subproblem can be written here.

#--- end subexercise ---

#--- begin subexercise ---
__b)__
State some other problem.

__Hint 1.__
A hint can be given.

__Hint 2.__
Maybe even another hint?

__Solution.__
The answer to this other subproblem goes here,
maybe over multiple doconce input lines.

#--- end subexercise ---
