summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/probsoln/samples/prob-tabmchoice.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-07-13 23:06:59 +0000
committerKarl Berry <karl@freefriends.org>2017-07-13 23:06:59 +0000
commit03542c01781307bd8cb29571d8a39197a4de83e2 (patch)
treeb11e221ce28f24eee3995a8efb51d2e76993472c /Master/texmf-dist/doc/latex/probsoln/samples/prob-tabmchoice.tex
parent04f93eb1202717fcb407f1271d28f4153aaa0ca0 (diff)
probsoln (10jul17)
git-svn-id: svn://tug.org/texlive/trunk@44783 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/probsoln/samples/prob-tabmchoice.tex')
-rw-r--r--Master/texmf-dist/doc/latex/probsoln/samples/prob-tabmchoice.tex18
1 files changed, 18 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/probsoln/samples/prob-tabmchoice.tex b/Master/texmf-dist/doc/latex/probsoln/samples/prob-tabmchoice.tex
new file mode 100644
index 00000000000..9555b97dd32
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/probsoln/samples/prob-tabmchoice.tex
@@ -0,0 +1,18 @@
+ % This file is public domain
+ %
+ % 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}%