diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/probsoln/samples/sample3.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/probsoln/samples/sample3.tex | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/probsoln/samples/sample3.tex b/Master/texmf-dist/doc/latex/probsoln/samples/sample3.tex new file mode 100644 index 00000000000..35252593b33 --- /dev/null +++ b/Master/texmf-dist/doc/latex/probsoln/samples/sample3.tex @@ -0,0 +1,24 @@ +\documentclass[a4paper]{article} + +\usepackage{longtable} +\usepackage{probsoln} + + %\showanswers + +\newcounter{problem} +\renewcommand{\PSNitem}{\refstepcounter{problem}% +\theproblem. } +\renewcommand{\endPSNitem}{\\} + +\renewenvironment{solution}{}{} + +\newcommand{\selected}{\fbox{$\times$}} +\newcommand{\notselected}{\fbox{\phantom{$\times$}}} + +\begin{document} +\begin{longtable}{lrrrl} +\bfseries Question & \bfseries A & \bfseries B & +\bfseries C & \ifshowanswers \bfseries Reason\fi\\ +\selectrandomly{tabmchoice}{2} +\end{longtable} +\end{document} |