Home
Up
exam.cls
exam_cls.pdf
exam_cls.tex

Exam Document Class for LATEX2e

The file exam.cls is a LATEX2e document class for preparing Queen Mary BSc, MSci and MSc examinations on A4 paper.  It is available to anyone who wants to use it, but it has no official status whatsoever, nor is it formally supported or maintained.  Its use is described in the file exam_cls.pdf (also available in source form as exam_cls.tex) and illustrated in the following files:

LATEX source files Formatted PDF files
Without logo With logo Without logo With logo
BSc_exam_demo.tex BSc_exam_demo_logo.tex BSc_exam_demo.pdf BSc_exam_demo_logo.pdf
MSci_exam_demo.tex MSci_exam_demo_logo.tex MSci_exam_demo.pdf MSci_exam_demo_logo.pdf

The logo option to insert a graphical image of the Queen Mary logo instead of the text "Queen Mary, University of London" is based on code by Steve Schwartz, but to use it you also need one of the following graphics files provided by Steve: qmula.eps for use with regular LATEX; qmula.pdf for use with PDFLATEX.  This is because pdflatex does not accept ordinary EPS graphics files; if you want to produce PDF from LATEX source including EPS files then I recommend latex followed by dvipdfm, which is how I produced the PDF files available here (but see also http://www.ctan.org/tex-archive/support/purifyeps/).

Usage: If you use MiKTEX on Windows then I recommend that you just put the file exam.cls, and optionally also qmula.eps, qmula.pdf, in your local "shadow" of the directory texmf\tex\latex and then refresh the file name database (select MiKTeX / MiKTeX Options from the Windows Start menu).  This works well for both LATEX and PDFLATEX.  Something similar should work on other platforms but, as a last resort, putting all relevant files in the current directory should work in all cases.

The new \startexam command

This command is not yet documented elsewhere.  It is intended to be placed after the main rubric and converts the first page into a cover page, so that the exam proper appears on the next page.  This is to comply with current QM exam guidelines.  Its use is illustrated in the following files:

LATEX source files Formatted PDF files
BSc_exam_demo_logo_cover.tex BSc_exam_demo_logo_cover.pdf

Revision for 2007

The current version puts page numbers in the header on alternating sides as required by current College instructions.  However, it does not put a page number on  the first page because it looks bad.  The examples above do not show this revision.


Francis Wright, 08 January 2007