I am creating multiple choice questions using exam class however I faced two issues: 1). Want to have two columns choices but it displays by default as A, C, B, D, and 2). Figures in choices are bottom aligned instead of top alignment. Any suggestion? Below is my MWE:
\documentclass{exam} \usepackage{multicol} \usepackage{graphicx} \begin{document} \begin{questions} \question \begin{minipage}[t]{0.65\linewidth} Consider the network graph shown in the figure, which of the following is NOT a \textit{tree} of this graph? \begin{multicols}{2} \begin{choices} \choice \includegraphics[scale=0.2]{example-image-a} \choice \includegraphics[scale=0.2]{example-image-b} \choice \includegraphics[scale=0.2]{example-image-c} \CorrectChoice \includegraphics[scale=0.2]{example-image-a} \end{choices} \end{multicols} \end{minipage} \hspace{2em}% \begin{minipage}[t]{0.35\linewidth} \vspace{-\baselineskip} \includegraphics[scale=0.4]{example-image-a} \end{minipage} \end{questions} \end{document}
Best Answer
Here's one option:
I used the
adjustbox
package to get the desired top alignment. For the numbering schema I used twomulticols
environments instead of just one.I also changed the
scale
option for\includegraphics
to widthand changed some spaces to prevent overfull
\hbox`es.