I want to use LaTeX for exam and assignment papers for a class that I am teaching. I obviously could just do the whole thing myself. But, what alternatives are there for easily typesetting such documents? Ideally, the solution would handle points (providing a total) or percentage values (ensuring they sum to 100), multi-part questions, optionally provide space for answers, and allow for all of fill in the blanks, multiple choice, and straight-up questions.
253k 70 70 gold badges 730 730 silver badges 796 796 bronze badges asked Jul 27, 2010 at 6:09 31.5k 23 23 gold badges 68 68 silver badges 88 88 bronze badgesCheck out the exam document class; it does all that and more!
I've also had great success using it for homeworks and such (both as an instructor and as a student).
Here's an example exam created with the package:
The corresponding code:
\documentclass[addpoints] \firstpageheader \firstpagefooter<><> % Lower the footer a bit \extrafootheight % Define how bonus points are labelled \bonuspointpoints \begin \begin \fbox<\fbox<\parbox<5.5in>>> \end \vspace \makebox[\textwidth] \vspace \begin \question[10] Why is there air? \vspace \question[15] How much wood would a woodchuck chuck if a woodchuck could chuck wood? \vspace \begin \bonuspart[5] How many seashells does she sell by the seashore? \vspace \end \question[10] Compute $\displaystyle\int_0^1 x^2 \, dx$. \vspace> \bonusquestion[10] Prove this: $A \land (B \lor C) \equiv (A \land B) \lor (A \land C)$ \end % Put the grade table at the bottom of the page \vspace* \begin \combinedgradetable[h] \end \end
Here are some resources on the exam package: