Search found 1 match

by pauljlucas
Wed Oct 23, 2024 4:33 pm
Forum: Graphics, Figures & Tables
Topic: Get equal above/belowskip regardless of float for lstlisting
Replies: 0
Views: 10195

Get equal above/belowskip regardless of float for lstlisting

When using the listings package, for some listings I do not want to use float, i.e., I want the listing "inline." The minimal example below shows such a listing. The first lstlisting does not use float and the spacing above/below it is correct, i.e., a blank line.

For longer listings, however, I do ...