| 1 |
\documentclass[onepage]{webquiz} |
| 2 |
\title{An answer$*$ (and comparison=string)} |
| 3 |
\begin{document} |
| 4 |
\begin{question} % a quiz question |
| 5 |
What is the capital of Australia? |
| 6 |
\answer*{Canberra} (Correct answer ``Canberra'') |
| 7 |
\whenRight Yes, Sydney is the capital of NSW. |
| 8 |
\whenWrong Remember to correctly capitalise your answer! |
| 9 |
\end{question} |
| 10 |
\begin{question} % a quiz question |
| 11 |
What is the capital of Australia? |
| 12 |
\answer{Canberra} (Correct answer ``Canberra'') |
| 13 |
\whenRight Yes, Sydney is the capital of NSW. |
| 14 |
\whenWrong Remember to correctly capitalise your answer! |
| 15 |
\end{question} |
| 16 |
\end{document} |