Hi Duncan, Duncan Murdoch wrote: >> Slightly off Arjuns topic is a problem with Schunk, Sinput and Soutput >> environments. They just use to much inline space. I have tweade this >> problem with sed (see bellow for Makefile content), but wonder if there >> is a better solution. > > You can change the spacing by redefining those environments. I use this: > > % This removes the extra spacing after code and output chunks in Sweave, > % but keeps the spacing around the whole block. > > \fvset{listparameters={\setlength{\topsep}{0pt}}} > \renewenvironment{Schunk}{\vspace{\topsep}}{\vspace{\topsep}}
Nice trick. Thank you. I am CCing to a friend that had the same issue. -- Lep pozdrav / With regards, Gregor Gorjanc ---------------------------------------------------------------------- University of Ljubljana PhD student Biotechnical Faculty www: http://www.bfro.uni-lj.si/MR/ggorjan Zootechnical Department blog: http://ggorjan.blogspot.com Groblje 3 mail: gregor.gorjanc <at> bfro.uni-lj.si SI-1230 Domzale fax: +386 (0)1 72 17 888 Slovenia, Europe tel: +386 (0)1 72 17 861 ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.