| 1 |
% This file is public domain |
| 2 |
\documentclass[a4paper]{article} |
| 3 |
|
| 4 |
\usepackage{longtable} |
| 5 |
\usepackage{probsoln} |
| 6 |
|
| 7 |
%\showanswers |
| 8 |
|
| 9 |
\newcounter{problem} |
| 10 |
\renewcommand{\PSNitem}{\refstepcounter{problem}% |
| 11 |
\theproblem. } |
| 12 |
\renewcommand{\endPSNitem}{\\} |
| 13 |
|
| 14 |
\renewenvironment{solution}{}{} |
| 15 |
|
| 16 |
\newcommand{\selected}{\fbox{$\times$}} |
| 17 |
\newcommand{\notselected}{\fbox{\phantom{$\times$}}} |
| 18 |
|
| 19 |
\begin{document} |
| 20 |
\begin{longtable}{lrrrl} |
| 21 |
\bfseries Question & \bfseries A & \bfseries B & |
| 22 |
\bfseries C & \ifshowanswers \bfseries Reason\fi\\ |
| 23 |
\selectrandomly{prob-tabmchoice}{2} |
| 24 |
\end{longtable} |
| 25 |
\end{document} |