LaTeX/Teacher's Corner

Intro
LaTeX has specific features for teachers. We present the exam class which is useful for designing exams and exercises with solutions. Interested people could also have a look at the probsoln package, the mathexm document class , or the exsheets package.

The exam class
We present the exam class. The exam class is well suited to design exams with solutions. You just have to specify in the preamble if you want the solutions to be printed or not. You can also count the number of points.

Preamble
In the preamble you can specify the following lines :

You can replace the 3 first lines with the following :

Document

 * The exam is included in the questions environment.
 * The command \question introduces a new question.
 * The number of points is specified in squared brackets.
 * The solution is given in the solution environment. It appears only if \printanswers or answers as an option of the \documentclass are specified in the preamble.

Here is an example :

It is also possible to add stuff only if answers are printed using the \ifprintanswers command.

Introduction
The macro \numquestions gives the total number of questions. The macro \numpoints gives the total number of points.

The backslash after \numquestion prevents the macro from gobbling the following whitespace as it normally would.

Exsheets
Package  is an alternative to the exam class. It can be used to create exam papers, text books including solutions etc. Many options are available to style the output. Following a demonstrative example.



Successor of  will be package.