Re: Line spacing in listings

2009-04-01 Thread Sven Grüner
Nikos Alexandris schrieb: I wonder if there is a smarter way than placing /singlespace before each listing? Sven, I bet the answer is in the listing package documentation [1]. There numerous parameters with which you can do magic :-) I spent hours with that DOC but was always looking for "spa

Re: Line spacing in listings

2009-04-01 Thread Nikos Alexandris
> > I wonder if there is a smarter way than placing /singlespace before each > > listing? > Sven, I bet the answer is in the listing package documentation [1]. > There numerous parameters with which you can do magic :-) [1] http://www.ctan.org/get/macros/latex/contrib/listings/listings.ins

Re: Line spacing in listings

2009-04-01 Thread Nikos Alexandris
Sven: > 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 i

Line spacing in listings

2009-04-01 Thread Sven Grüner
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 s