summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/webquiz/doc/examples/answer-lowercase.tex
blob: c0c8665794b71dafe1506ff73b11a1bacad9331b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
\documentclass[onepage]{webquiz}
\title{An answer with comparison=lowercase}
\begin{document}
  \begin{question}     % a quiz question
     How long is a piece of string?
     \answer[lowercase]{Long} (Correct answer ``Long'')
     \whenRight Correct! Obviously your ruler is working!
     \whenWrong Incorrect! Is your ruler working?
  \end{question}
  \begin{question}     % a quiz question
     How long is a piece of string?
     \answer[lowercase]{lonG} (Correct answer ``Long'')
     \whenRight Correct! Obviously your ruler is working!
     \whenWrong Incorrect! Is your ruler working?
  \end{question}
\end{document}