In document class exam, is there any way to write options in 2 rows in oneparchoices or choices environment as in the image below? I tried using multicols but it didn't work.
1 Answer
You could use the tasks package and replace \begin{choices}
and \end{choices}
with \begin{tasks}(2)
and \end{tasks}
and \choice
with \task
.
To change the label style to suit your needs, you may want to use the label
option.
Something like \settasks{label=(\alph*), label-width=1.5em}
in the preamble of the document should result in the expected output.
-
Is there any correctchoice type option in task so that when when I use printanswers command, it highlights the correct answer is some specific color? Jul 27, 2021 at 10:11
tasks
package and replace\begin{choices}
and\end{choices}
with\begin{tasks}(2)
and\end{tasks}
and\choice
with\task
.tasks
package offers the possibility to control the label to suit your needs. Take a look at thelabel
option. If you add the left parenthesis, you may also need to adjust the value oflabel-width
to account for the extra width of the label.