Possible Duplicate:
Increase space between listings env. and surrounding text
Is it possible to increase the distance between text and an \lstlisting? In my resulting PDF the listing follows very short after the text:

Would that be possible?
Possible Duplicate:
Increase space between listings env. and surrounding text
Is it possible to increase the distance between text and an \lstlisting? In my resulting PDF the listing follows very short after the text:

Would that be possible?
aboveskip(default is\medskipamount). So, something like\begin{lstlisting}[aboveskip=2\baselineskip]. – Werner Aug 28 '12 at 19:42