summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/webquiz/examples/answer-integer.tex
blob: 76b922be15773f6ca6169a80b62ec24499fd0443 (plain)
1
2
3
4
5
6
7
8
9
10
\documentclass[hidesidemenu]{webquiz}
\title{An answer with comparison=integer}
\begin{document}
  \begin{question}     % a quiz question
     How long is a piece of string?
     \answer[integer]{18} mm (Correct answer $18$)
     \whenRight Yes, $18$mm pieces of string are $18$mm long!
     \whenWrong Incorrect! Is your ruler working?
  \end{question}
\end{document}