summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/webquiz/doc/examples/answer-complex.tex
blob: 603e666c07cf2a046d2a275b0c5abc445ef58442 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
\documentclass[onepage]{webquiz}
\title{An answer with comparison=complex}
\begin{document}
  \begin{question}     % a quiz question
     If $a=3-i$ and $b=2+i$ then what is $ab$?
     \answer[complex]{7+i} (Correct answer $7+i$)
  \end{question}
  \begin{question}     % a quiz question
     If $a=3-i$ and $b=2+i$ then what is $ab$?
     \answer[complex]{7+i} (Correct answer $7+i$)
  \end{question}
\end{document}