solving exercises

Improving exsheets

It has been quite a while since I first published exsheets – a package for creating exercise sheets with LaTeX – in Juni 2012. Since then it has gained a user base and a little bit of popularity as the number of questions on shows. User questions, bug reports and feature requests improved it over the time. It still has a version number starting with a zero, though, which in my versioning system means I still consider it experimental.

This is due to several facts. It lacks a few features which I consider essential for a full version 1. For one thing it is not possible to have several kinds of exercises numbered independently. Using verbatim material such as listings inside questions and solutions is not possible and the current workaround isn’t that ideal either. One request which dates back quite a while now was to have different types of points to questions…

All of those aren’t easy to add due to the way exsheets is implemented right now. As a consequence I wanted to re-implement exsheets for a long time. And that is what I have done in the last month. Internally this completely changes how the package works. Unfortunately this also has an impact on the user interface. The new implementation will not be compatible with the old one. For this reason I decided to publish the new implementation as a new package. It will be the official successor of exsheets which then will be considered obsolete and will only receive bugfix releases any more.

The new package will be called xsim – eXercise Sheets IMproved. Right now the first version 0.1pre-1 seems to be usable but requires testing. So I invite everyone interested in testing the package and its features. As a teaser:

  • verbatim material is now allowed,
  • having different types of exercises (numbered independently or sharing a counter) is possible,
  • having as many different types of points as wanted is possible,
  • the styling possibilities are even bigger than with exsheets as users can define the layout from scratch if they wish,
  • tagging questions with different types of tags (plain tags, difficulty levels, topics,…) and selecting exercises using those tags,
  • collecting exercises into collections and printing the collections anywhere in the document is possible

It does have a preliminary manual which is not quite complete, yet. But the github repository where you can find and download the package also contains an example file which demonstrates some of the features.

Picture: © Henry Klingberg/pixelio


  • Kuo Kan Liang

    February 27, 2017 at 11:05 Reply

    I love exsheets and will definitely give xsim an extensive try. Thanks for the efforts. You have made my life as a professor a great lot easier. I think you still will, with xsim.

    • Clemens

      February 27, 2017 at 12:03 Reply

      Thanks. Let me know if you miss something… I hope to have the manual finished till the end of the week.

Post a Comment