summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/webquiz/examples/answer-string.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-03-16 22:43:33 +0000
committerKarl Berry <karl@freefriends.org>2019-03-16 22:43:33 +0000
commit7e80fa208736f4ab99b1d57dd1571da41f1e3744 (patch)
tree606bd82a5737d587ef239fd58a5a58c256666178 /Master/texmf-dist/doc/latex/webquiz/examples/answer-string.tex
parent9de7d0ea371387f647487812b48b51030c739bdf (diff)
webquiz
git-svn-id: svn://tug.org/texlive/trunk@50419 c570f23f-e606-0410-a88d-b1316a301751
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}