I'm writing a book and want to add some math problems and solutions to this book. Is it possible to have the following in LaTeX?
- In the LaTeX source file, the source of the solution will be directly after the problem.
- In the typeset book, the section with solutions will be typeset at the end.