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
- Choose a template (the window opens on this page): test, worksheet, oral test, multiple-choice quiz, exercise sheet or course.
- Write each question and its answer in the
correctionenvironment that follows it. - Click “✔ Student + key”: two PDFs are produced, one without the answers, one with them.
- Download both, or upload them to your learning platform.
Tips
- The Test template adds up the marks by itself.
- The oral-test template draws exercises at random from a bank, with an adjustable seed to repeat the same draw.
- The quiz produces an answer sheet and a ticked answer key.
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.