Multipart Questions in LaTeX

Question Mode: Multipart

 

To make a multipart question, declare a question of type Multipart and include other questions in its body.

 

Notes

\begin{question}{multipart}

...

\begin{question}{multipart}

...

\begin{question}{multipart}

...

\begin{question}{multipart}

...

\begin{question}{multipart}

...

\end{question}

\end{question}

\end{question}

\end{question}

\end{question}

Example

\begin{question}{Multipart}

\weighting{1,2} % The value of part (b) is twice that of part (a).

\qutext{Answer the following questions:}

% part (a)

\begin{question}{Formula}

\qutext{Differentiate the function

$\displaystyle f(x)=\frac{x}{1+x^2}$.}

\answer{(1 - x^2)/(1 + x^2)^2}

\end{question}

% part (b)

\begin{question}{Multipart}

% The 2/3 of the points assigned to part (b) are split evenly between

% its subparts because \weighting is not used.

\numbering{roman} % These are subparts (i) and (ii)

% part (i)

\begin{question}{Ntuple}

\qutext{Find the absolute minimum point on the graph of the

function $\displaystyle f(x)=\frac{x}{1+x^2}$.}

\answer{(-1,-1/2)}

\end{question}

% part (ii)

\begin{question}{Ntuple}

\qutext{Find the absolute maximum point on the graph of the

function $\displaystyle f(x)=\frac{x}{1+x^2}$.}

\answer{(1,1/2)}

\end{question}

\end{question}

\end{question}