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