blob: 0a605526fcfb42f8c4ae51fb606c212301ffdfd3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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}
|