Image over numeric choices

Added by Paco Riviere 5 months ago

How can I avoid images overlaping numeric choices?

Minimal code example, and result included:

\element{4.2.3 Exericis de palanques}{
\begin{questionmultx}{Palanca3}\label{q:Palanca}
\parbox[c]{.44\linewidth}{
Quina és la càrrega, expressada en Kg, que podem arribar a transportar al carretó de la figura? (gravetat 10 m/s\textsuperscript{2}).
\AMCnumericChoices{133}{exact = 1, decimals = 0, digits = 3, sign = false, scoreexact = 1}}
\parbox[c]{.44\linewidth}{
\includegraphics[width=0.48\textwidth]{./Figures/SampleImage.png}}
\end{questionmultx}}

Optimaly, Question number should not be on the left, but inline with question text.


Replies (2)

RE: Image over numeric choices - Added by Alexis Bienvenüe 5 months ago

Maybe leave a blank line between \begin{questionmultx}{Palanca3}\label{q:Palanca} and the parbox?

RE: Image over numeric choices - Added by Paco Riviere 5 months ago

Thanks Alexis, this puts the Question number inline with question text. It looks much better.
And changing the first {.44\linewidth} by {.68\linewidth} and the second by {.30\linewidth}solves the point!

Solved!

(1-2/2)