Comprehensive TeX Archive Network

exam – Package for typesetting exam scripts

Pro­vides a class exam, 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.

Sources /macros/latex/contrib/exam
Ver­sion 2.5
Li­cense The Project Public Li­cense 1.3
Copy­right 1994,1997,2000,2004,2008,2011,2015: Philip S. Hirschhorn
Main­tainer Philip S. Hirschhorn
Con­tained in TeX Live as exam
MiKTeX as exam
Topics al­ter­na­tive class(es)
ex­ams, quizzes, etc.

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

Com­mu­nity Com­ments



Here you can see a re­spec­tive di­a­gram in newer browsers.


Guest Book Sitemap Contact Contact Author