Skip to content
/ LaTeX student copy and answer key

LaTeX editor

LaTeX student copy and answer key — answers are written right under each question, in a correction environment; the “✔ Student + key” button compiles the same file twice and offers both PDFs. No separate answer key to keep up to date.

How to do it

  1. Choose a template (the window opens on this page): test, worksheet, oral test, multiple-choice quiz, exercise sheet or course.
  2. Write each question and its answer in the correction environment that follows it.
  3. Click “✔ Student + key”: two PDFs are produced, one without the answers, one with them.
  4. Download both, or upload them to your learning platform.

Tips

Frequently asked questions

How is the answer key produced?

The templates use the \ifcorrection condition: the student version hides the correction environments, the answer key shows them.

Can I use it with my own preamble?

Yes: keep the correction environment and the \ifcorrection condition, or build a full preamble in the Otoolia preamble workshop.

Is my document sent to a server?

No: compilation (TeX Live 2026, pdfLaTeX, LuaLaTeX or XeLaTeX) runs in your browser. Your files stay in your own Git repository; Otoolia keeps nothing.