TA Problem/Solution Notes

From Liki

Jump to: navigation, search

problempack.sty

I've put together a latex package problemspack.sty to make it easier to write up problem sets with solutions for the classes I TA.

The package takes care of a few details:

  • Make it easy to compile one pdf with only the problems and another pdf with problems and solutions.
  • Define nicely typeset environments for automatically or manually numbered problems.
  • Save retyping a few of the parameters (course title, class title, etc), that show up in the note title and also need to go out to pdftitle and pdfsubject.
  • Change the page layout to minimize margins (saves paper on printing)
  • Set the spacing between problems (e.g. to tweak output to a single page, versions >= 0.2)
  • Add section level entries to the table-of-contents and hyperref bookmarks (versions >= 0.3)

The basic idea is to make it easy to write up notes. Just install problempack.sty in your texmf tree, and then use it like I do in my simple example notes.

For a real world example, look at my Phys 102 notes with and without solutions. The source for those notes is here.

Makecirc (in the Debian texlive-latex-extra package) is also useful.

Other notes produced in this fashion: Phys201 winter 2009 and Phys201 spring 2009 Phys102 summer 2009

wtk_cmmds.sty

A related package that defines some useful physics macros (\U, \E, \dg, \vect, \ihat, ...) is my wtk_cmmds.sty. This used to be a part of problempack.sty, but the commands are less general, so I split them out into their own package.