summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/probsoln/samples/tabmchoice.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/probsoln/samples/tabmchoice.tex')
-rw-r--r--Master/texmf-dist/doc/latex/probsoln/samples/tabmchoice.tex16
1 files changed, 16 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/probsoln/samples/tabmchoice.tex b/Master/texmf-dist/doc/latex/probsoln/samples/tabmchoice.tex
new file mode 100644
index 00000000000..39cd1f10e41
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/probsoln/samples/tabmchoice.tex
@@ -0,0 +1,16 @@
+ % These problems are designed to be placed in a
+ % tabular environment
+ %
+\newproblem{tab:1}{%
+What is $(3+2)\times5$? &
+25 \ifshowanswers\selected\else\notselected\fi &
+13 \notselected &
+10 \notselected &
+}{Brackets come first}%
+
+\newproblem{tab:2}{%
+What is $-1+2\times3$? &
+3 \notselected &
+-7 \notselected &
+5 \ifshowanswers\selected\else\notselected\fi &
+}{Multiplication comes first}%