I am using LaTeX and I have a verbatim environment inside an enumerate one. However, there is much whitespace between the verbatim text and the following list item.
What I have now is something like this:

I would like to get something like this:

Does anyone know how to achieve it in an elegant way (i.e. without manually using \vspace{-4ex})?
[EDIT] The code I am using is like this:
\begin{enumerate}
\item Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum
dictum quam at sapien pellentesque porta. Morbi arcu nibh, consequat
non consequat a, congue sed libero.
\begin{verbatim}
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Vestibulum dictum quam at sapien pellentesque porta.
\end{verbatim}
\item Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum
dictum quam at sapien pellentesque porta. Morbi arcu nibh, consequat
non consequat a, congue sed libero.
\end{enumerate}


{latex}tag from your question because most of the questions at our site are about LaTeX. – lockstep Feb 25 '11 at 13:56\texttt{...}. If its describing code, then using listings is preferable. – Mikael Öhman Feb 25 '11 at 17:43