| 1 |
\documentclass[onepage]{webquiz} |
| 2 |
\title{An answer with comparison=number} |
| 3 |
\begin{document} |
| 4 |
\begin{question} % a quiz question |
| 5 |
What is $\frac12+\frac14$? |
| 6 |
\answer[number]{3/4} (Correct answer $3/4$) |
| 7 |
\whenRight Correct! |
| 8 |
\whenWrong Incorrect! Is your ruler working? |
| 9 |
\end{question} |
| 10 |
\begin{question} % a quiz question |
| 11 |
What is $\frac12+\frac14$? |
| 12 |
\answer[number]{3/4} (Correct answer $3/4$) |
| 13 |
\whenRight Correct! |
| 14 |
\whenWrong Incorrect! Is your ruler working? |
| 15 |
\end{question} |
| 16 |
\end{document} |