[Vegan-commits] r554 - pkg/inst/doc

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Mon Nov 10 09:21:15 CET 2008


Author: jarioksa
Date: 2008-11-10 09:21:14 +0100 (Mon, 10 Nov 2008)
New Revision: 554

Modified:
   pkg/inst/doc/decision-vegan.Rnw
   pkg/inst/doc/diversity-vegan.Rnw
   pkg/inst/doc/intro-vegan.Rnw
Log:
narrower margins in vignette figures by setting SweaveHooks

Modified: pkg/inst/doc/decision-vegan.Rnw
===================================================================
--- pkg/inst/doc/decision-vegan.Rnw	2008-11-09 18:15:26 UTC (rev 553)
+++ pkg/inst/doc/decision-vegan.Rnw	2008-11-10 08:21:14 UTC (rev 554)
@@ -25,7 +25,8 @@
 \SweaveOpts{strip.white=TRUE}
 \setkeys{Gin}{width=0.55\linewidth}
 <<echo=false,results=hide>>=
-par(mar=c(3,3,1,1)+.1)
+figset <- function() par(mar=c(4,4,1,1)+.1)
+options(SweaveHooks = list(fig = figset))
 require(vegan)
 @
 

Modified: pkg/inst/doc/diversity-vegan.Rnw
===================================================================
--- pkg/inst/doc/diversity-vegan.Rnw	2008-11-09 18:15:26 UTC (rev 553)
+++ pkg/inst/doc/diversity-vegan.Rnw	2008-11-10 08:21:14 UTC (rev 554)
@@ -22,8 +22,9 @@
 par(mfrow=c(1,1))
 par(mar=c(3,3,1,0)+.1)
 options(width=72)
+figset <- function() par(mar=c(4,4,1,1)+.1)
+options(SweaveHooks = list(fig = figset))
 @
-
 \maketitle
 
 \tableofcontents

Modified: pkg/inst/doc/intro-vegan.Rnw
===================================================================
--- pkg/inst/doc/intro-vegan.Rnw	2008-11-09 18:15:26 UTC (rev 553)
+++ pkg/inst/doc/intro-vegan.Rnw	2008-11-10 08:21:14 UTC (rev 554)
@@ -27,6 +27,8 @@
 par(mfrow=c(1,1))
 par(mar=c(3,3,1,0)+.1)
 options(width=72)
+figset <- function() par(mar=c(4,4,1,1)+.1)
+options(SweaveHooks = list(fig = figset))
 @
 
 \maketitle



More information about the Vegan-commits mailing list