CTAN Comprehensive TeX Archive Network

Direc­tory macros/latex/contrib/exam

This is version 2.603 of the exam document class, dated December 17,

The exam document class, together with its user's guide examdoc.tex,
attempts to make it easy for even a LaTeX novice to prepare exams.
Simple commands are provided to:

1. Create questions, parts of questions, subparts of parts, and
subsubparts of subparts, all with optional point values.

2. Create a grading table, indexed either by question number (listing
each question and the total possible points for that question) or by
page number (listing each page with points and the total possible
points for that page).  A grading table can cover the entire exam or
just a part of the exam.  Grading tables can have multiple rows or
multiple columns.

3. Create headers and footers that are each specified in three parts:
One part to be left justified, one part to be centered, and one part
to be right justified.

4. Have headers and/or footers that are different on the first page of
the exam, different on the last page of the exam, and that vary
depending on whether the page number is odd or even, or on whether the
current page continues a question from a previous page, or on whether
the last question on the current page continues onto the following

5. Have multiple line headers and/or footers, and to increase the part
of the page devoted to headers and/or footers to allow for this.

6. Include solutions and have these solutions either printed or
ignored (or replaced automatically by space in which the students can
write their answers) depending on a single command.

7. Leave blank space, or space in a box, or lined space, or dotted
lined space, or space filled with a grid.

8. Change the words that are inserted by the document class (for,
e.g., point values, or table headings), so that they can be adapted to
personal taste and/or languages other than English.

The user's guide examdoc.tex attempts to explain all of the
possibilities in a readable way, with many examples.


This work may be distributed and/or modified under the conditions of
the LaTeX Project Public License, either version 1.3 of this license
or (at your option) any later version.

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

exam – Pack­age for type­set­ting exam scripts

Pro­vides a class exam.cls, which eases pro­duc­tion of ex­ams, even by a novice. Sim­ple com­mands are pro­vided to:

  • cre­ate ques­tions, parts of ques­tions, sub­parts of parts, and sub­sub­parts of sub­parts, all with op­tional point val­ues;
  • cre­ate a grad­ing ta­ble, in­dexed ei­ther by ques­tion num­ber (list­ing each ques­tion and the to­tal pos­si­ble points for that ques­tion) or by page num­ber (list­ing each page with points and the to­tal pos­si­ble points for that page);
  • cre­ate head­ers and foot­ers that are each spec­i­fied in three parts: one part to be left jus­ti­fied, one part to be cen­tered, and one part to be right jus­ti­fied, in the man­ner of fan­cy­hdr.

Head­ers and/or foot­ers can be dif­fer­ent on the first page of the exam, can be dif­fer­ent on the last page of the exam, and can vary de­pend­ing on whether the page num­ber is odd or even, or on whether the cur­rent page con­tin­ues a ques­tion from a pre­vi­ous page, or on whether the last ques­tion on the cur­rent page con­tin­ues onto the fol­low­ing page.

Mul­ti­ple line head­ers and/or foot­ers are al­lowed, and it's easy to in­crease the part of the page de­voted to head­ers and/or foot­ers to al­low for this.

Note that the bun­dle ex­ams also pro­vides a file exam.cls; the two bun­dles there­fore clash, and should not be in­stalled on the same sys­tem.

Home pagehttp://www-math.mit.edu/~psh/
Ver­sion2.603 2017-12-17
Li­censesThe Project Public Li­cense 1.3
Main­tainerPhilip S. Hirschhorn
Con­tained inTeX Live as exam
MiKTeX as exam
Guest Book Sitemap Contact Contact Author