Sven Grüner
2009-04-01 22:01:06 UTC
Hi,
I'm trying to enbed some code into my document by using the
subdocument,type=listing way.
First I was surprised that the text wasn't automatically set to a
typewriter font. But basicstyle=\ttfamily fixed this though I'm not
totally certain how.
My current problem is how to set the line spacing in the listings to
singlespace which is set to onehalfspace for the whole document.
I wonder if there is a smarter way than placing /singlespace before each
listing?
Thanks for your help.
regards, Sven
I'm trying to enbed some code into my document by using the
subdocument,type=listing way.
First I was surprised that the text wasn't automatically set to a
typewriter font. But basicstyle=\ttfamily fixed this though I'm not
totally certain how.
My current problem is how to set the line spacing in the listings to
singlespace which is set to onehalfspace for the whole document.
I wonder if there is a smarter way than placing /singlespace before each
listing?
Thanks for your help.
regards, Sven