Comprehensive TeX Archive Network
Cover Upload Browse Search

Direc­tory tex-archive/macros/latex/contrib/exam

This is version 2.4 of the exam document class, dated May 22, 2011.

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.

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. 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 specific 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.


Name Size Date Notes
README 2059 2011-05-23 01:02
exam-2.4.md5 181 2011-05-23 00:44
exam.cls 224311 2011-05-23 00:38
examdoc.pdf 759577 2011-05-23 00:41
examdoc.tex 259086 2011-05-23 00:29

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

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

Pro­vides a class exam, which eases pro­duc­tion of ex­ams, even by a LaTeX 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.

Pack­age De­tailsexam
Li­censeThe LaTeX Project Public Li­cense 1.3
Copy­right1994,1997,2000,2004,2008 Philip S. Hirschhorn
Main­tainerPhilip S. Hirschhorn
Con­tained inTeXlive as exam
MikTeX as exam
Topics ex­ams, quizzes, etc.
al­ter­na­tive LaTeX class(es)
Guest Book Sitemap Contact