diff options
author | Karl Berry <karl@freefriends.org> | 2019-03-16 22:43:33 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-03-16 22:43:33 +0000 |
commit | 7e80fa208736f4ab99b1d57dd1571da41f1e3744 (patch) | |
tree | 606bd82a5737d587ef239fd58a5a58c256666178 /Master/texmf-dist/doc/latex/webquiz/examples/simple.tex | |
parent | 9de7d0ea371387f647487812b48b51030c739bdf (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/simple.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/webquiz/examples/simple.tex | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/simple.tex b/Master/texmf-dist/doc/latex/webquiz/examples/simple.tex new file mode 100644 index 00000000000..7fe1e12084a --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/simple.tex @@ -0,0 +1,22 @@ +\documentclass{webquiz} +\title{An easy example} +\begin{document} + \begin{question} % a quiz question + Alice is twice as old as Betty. + Betty is one year older than Claire. + If Alice is $4$ how old is Claire? + \begin{choice}[columns=2] % multiple choice question + \correct $1$ % first choice - correct answer + \feedback If Claire is $1$ then Betty is $2$ and Alice is~$4$! + + \incorrect $2$ % second choice - incorrect + \feedback If Claire is $2$ then Betty is $3$ and Alice is~$6$. + + \incorrect $3$ % third choice - incorrect + \feedback If Claire is $3$ then Betty is $4$ and Alice is~$8$. + + \incorrect $4$ % fourth choice - incorrect + \feedback If Claire is $4$ then Betty is $5$ and Alice is~$10$. + \end{choice} + \end{question} +\end{document} |