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