summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/webquiz/examples/answer-string.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/webquiz/examples/answer-string.tex')
-rw-r--r--Master/texmf-dist/doc/latex/webquiz/examples/answer-string.tex11
1 files changed, 11 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/answer-string.tex b/Master/texmf-dist/doc/latex/webquiz/examples/answer-string.tex
new file mode 100644
index 00000000000..d8884058a59
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/webquiz/examples/answer-string.tex
@@ -0,0 +1,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}