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.


4 Answers 4


Check 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:

example exam

The corresponding code:

\firstpageheader{subject name, class name}{First Exam}{October 25, 2019}

\firstpagefooter{}{}{Page \thepage\ of \numpages}
% Lower the footer a bit

% Define how bonus points are labelled
\bonuspointpoints{bonus point}{bonus points}


Answer the questions in the spaces provided on the page. If you run out of room for an answer, continue on the back of the page.

\makebox[\textwidth]{Your name:\enspace\hrulefill}

  Why is there air?

  How much wood would a woodchuck chuck if a woodchuck could chuck wood?

    How many seashells does she sell by the seashore?

  Compute $\displaystyle\int_0^1 x^2 \, dx$.

  Prove this: $A \land (B \lor C) \equiv (A \land B) \lor (A \land C)$


% Put the grade table at the bottom of the page


Here are some resources on the exam package:

  • 4
    TJ Ellis is right. The exam class terrific. As a bonus, it has a good manual, with some very funny sample questions.
    – dank
    Aug 31, 2010 at 10:22

I prefer to use examdesign. But if you go to CTAN and click on select by keyword you will find this list under exams, exercices and answers.

If you want to reuse problems and construct your exams from a problem data base probsoln or texomaker are good for this.

  • It seems that both probsoln and texomaker links are broken
    – Kartik
    Dec 27, 2013 at 7:43
  • Solved. It looks like TeXoMaker only mantains its french page. Previous link to the english page is broken.
    – Ignasi
    Dec 27, 2013 at 11:45
  • 1
    Just to clarify: examdesign last version dates to 2001 and the texomaker project seems to be only available in French. exam has received periodical updates since 1994 to 2015.
    – epsilone
    Oct 7, 2016 at 10:25

And new on the list: the exsheets package.

  • This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post - you can always comment on your own posts, and once you have sufficient reputation you will be able to comment on any post. Oct 21, 2012 at 13:46
  • 5
    @TomBombadil: Why not? Besides the fact that this answer is rather short: one actually can typeset exams with ExSheets. It does not provide all the features that the OP wanted, though...
    – cgnieder
    Oct 21, 2012 at 14:14

The eqexam package is also very versatile. For example, it supports multiple-choice and online/e-mail assignments.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .