Mark Heckmann
2011-Jul-13 23:14 UTC
[R] Adding vertical space before and after Sweave chunk
Ein eingebundener Text mit undefiniertem Zeichensatz wurde abgetrennt. Name: nicht verf?gbar URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20110714/db3a6d2c/attachment.pl>
Duncan Murdoch
2011-Jul-14 00:13 UTC
[R] Adding vertical space before and after Sweave chunk
On 13/07/2011 7:14 PM, Mark Heckmann wrote:> I would like to have a bigger default space in front of and behind every Sweave chunk. > I have seen that space between input and output is removed as follows: > > \fvset{listparameters={\setlength{\topsep}{0pt}}} > \renewenvironment{Schunk}{\vspace{\topsep}}{\vspace{\topsep}} > > Still, I can't figure out how to add vertical space before and after the Sweave chunk. > Can someone help? >"0pt" standard for "zero points". Use a bigger number if you want a bigger space, e.g. 20pt. Duncan Murdoch