CTAN Comprehensive TeX Archive Network

exsol – Exercises and solutions from the same source, into a book

This pack­age pro­vides macros to al­low for em­bed­ding ex­er­cises and so­lu­tions in the source of an in­struc­tional text (e.g., a book or a course text) while gen­er­at­ing the fol­low­ing sep­a­rate doc­u­ments:

  • your orig­i­nal text that only con­tains the ex­er­cises, and
  • a so­lu­tion book that con­tains only the so­lu­tions to the ex­er­cises (op­tion­ally, the ex­er­cises them­selves can also be copied to the so­lu­tion book).

The ex­er­cise data are gen­er­ated when run­ning on your doc­u­ment; the first run also writes the so­lu­tions to a sec­ondary file that may be in­cluded in a sim­ple doc­u­ment har­ness, may be pro­cessed by , to gen­er­ate a nice so­lu­tion book.

The code of the pack­age was de­rived (in large part) from fan­cyvrb.

Li­censesThe Project Public Li­cense 1.3
Copy­right2012–2018 Wal­ter Daems
Main­tainerWal­ter Daems
TDS archiveexsol.tds.zip
Con­tained inTeX Live as ex­sol
MiKTeX as ex­sol

Down­load the con­tents of this pack­age in one zip archive (666.1k).

Com­mu­nity Com­ments



Here you can see a re­spec­tive di­a­gram in newer browsers.


Guest Book Sitemap Contact Contact Author