texmf-dist/doc/latex/webquiz/examples/answer-complex.tex
raw| 1 | \documentclass[onepage]{webquiz} |
| 2 | \title{An answer with comparison=complex} |
| 3 | \begin{document} |
| 4 | \begin{question} % a quiz question |
| 5 | If $a=3-i$ and $b=2+i$ then what is $ab$? |
| 6 | \answer[complex]{7+i} (Correct answer $7+i$) |
| 7 | \end{question} |
| 8 | \begin{question} % a quiz question |
| 9 | If $a=3-i$ and $b=2+i$ then what is $ab$? |
| 10 | \answer[complex]{7+i} (Correct answer $7+i$) |
| 11 | \end{question} |
| 12 | \end{document} |