So I am writing a book on Awk programming language, and I have enabled a single frame via \lstset{frame=single}. However, I would like the code within the snippet box to be further away from the frame border. Any ideas how to change the padding of the code within the snippet box? In HTML I'd just do padding: 5px, but I can't figure out how to do it in LaTeX.
Tell me more
×
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.
|
|
|||
|
Found it myself, it's |
|||||||||
|
\lstset{framesep=10pt}– Peteris Krumins Apr 30 '11 at 1:55