texmf-dist/doc/latex/webquiz/examples/answer-string.tex
raw| 1 | \documentclass[hidesidemenu]{webquiz} |
| 2 | \title{An answer with comparison=string} |
| 3 | \begin{document} |
| 4 | \begin{question} % a quiz question |
| 5 | What is the capital of Australia? |
| 6 | \answer[string]{Canberra} (Correct answer ``Canberra'') |
| 7 | \whenRight Yes, Sydney is the capital of NSW and Melbourne is the |
| 8 | capital of Victoria |
| 9 | \whenWrong Remember to correctly capitalise your answer! |
| 10 | \end{question} |
| 11 | \end{document} |