I'm trying to write an exam paper using LaTeX. I use the enumerate package, e.g.
\begin{enumerate}
\item This question is about balloons.
\begin{enumerate}
\item What shape are balloons?
\item What colour are balloons?
\end{enumerate}
\end{enumerate}
The problem comes from when I want to put commentary into the question. At the moment, the first level of enumerate gives me a number, and the second a letter. But in between the letters, I might like to say something about the next part of the question, and I would like that outdented, i.e. not on the same level as the lettered parts of the question. I have a work around:
\begin{enumerate}
\item This question is about balloons.
\begin{enumerate}[(a)]
\item What shape are balloons?
\end{enumerate}
Assume that all balloons are the same shape.
\begin{enumerate}[(b)]
\item What colour are balloons?
\end{enumerate}
\end{enumerate}
This is a real pain in the you-know-what. Doing it this way, everything in the last enumerate environment gets labelled as (b)
. So I have to \begin{enumerate}
and \end{enumerate}
and label every subsequent part:
\begin{enumerate}
\item This question is about balloons.
\begin{enumerate}[(a)]
\item What shape are balloons?
\end{enumerate}
Assume that all balloons are the same shape.
\begin{enumerate}[(b)]
\item What colour are balloons?
\end{enumerate}
\begin{enumerate}[(c)]
\item Why do I have to keep doing this?
\end{enumerate}
\begin{enumerate}[(d)]
\item Why do I have to keep doing this?
\end{enumerate}
\end{enumerate}
enumitem
package, instead, and itsresume
feature.enumitem
is included in both MikTeX and TeX Live, so you may have it already. If not, which TeX distribution do you have?enumerate
is quite old and you should probably useenumitem
but you can useenumerate
but you are misusing it\begin{enumerate}[(b)]
should be\begin{enumerate}[(a)]\setcounter{enumii}{2}
Onlya
is a special value to set the counter format you can not useb
to set the start value.\usepackage{enumitem}
, and the installation happens automatically.