[Tex/LaTex] How to reduce Program-Listing line spacing in LyX

line-spacinglistingslyxspacing

Using LyX 2.06.

I have a standard document with 1.5 line spacing, but I want my program listings to use 1.0 line spacing. Is there a simple way to do this?

Best Answer

just add to the \lstset{...}-section

lineskip={-1.5pt}

and: voilá!