texmf-dist/doc/latex/probsoln/samples/prob-tabmchoice.tex
raw| 1 | % This file is public domain |
| 2 | % |
| 3 | % These problems are designed to be placed in a |
| 4 | % tabular environment |
| 5 | % |
| 6 | \newproblem{tab:1}{% |
| 7 | What is $(3+2)\times5$? & |
| 8 | 25 \ifshowanswers\selected\else\notselected\fi & |
| 9 | 13 \notselected & |
| 10 | 10 \notselected & |
| 11 | }{Brackets come first}% |
| 12 | |
| 13 | \newproblem{tab:2}{% |
| 14 | What is $-1+2\times3$? & |
| 15 | 3 \notselected & |
| 16 | -7 \notselected & |
| 17 | 5 \ifshowanswers\selected\else\notselected\fi & |
| 18 | }{Multiplication comes first}% |