Compiled first page of the Exam LaTeX template
The answer key version of the LaTeX exam template, with every solution filled in

Actual compiled output — what you get before changing a single line.

LaTeX Exam Template

Questions with points, a grading table and a switchable answer key.

Free — no card, no trial.

What's inside

  • Points on every question and part, totalled automatically
  • Grading table generated by \gradetable
  • Multiple-choice checkboxes, with \CorrectChoice marking the answer
  • Answer space that turns into the written solution in the key
  • One line, \printanswers, switches the whole exam to the answer key
Document class: exam
Packages: amsmath, amssymb, geometry

The exam class does the bookkeeping teachers otherwise do by hand: it adds up points per question, builds the grading table on the front page, and prints "Page 2 of 3" in the header. This template sets it up for a typical written exam, with a name and student ID line, instructions that quote the total automatically, and a mix of question types.

Solutions live right next to their questions. Students see blank answer space; remove the % in front of \printanswers and the same file compiles into the answer key, ticks and all. Write the exam with a co-teacher in the same document and nobody has to merge versions.

More templates

Every template, fully editable

Real-time collaboration, full history, and a complete TeX Live compile stack — free for every account.

Create a free account