Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

This is more a conceptional question on how to use LaTeX in the right way. So far I have striven to customize only those things in LaTeX which are supposed to be without messing to much with print space.

I would like to increase the top and bottom spacing of listings to the rest of the text. I inserted a listing and it was put directly on to the next line, which is to close to the text.

Should I increase this space by using listings option or should I just put it into a figure?

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

Section 4.3 of the listings manual shows aboveskip and belowskip options. Have you tried those yet?

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.