[Distr-commits] r419 - branches/distr-2.1/pkg/SweaveListingUtils/inst/doc

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Thu Mar 19 18:54:16 CET 2009


Author: ruckdeschel
Date: 2009-03-19 18:54:16 +0100 (Thu, 19 Mar 2009)
New Revision: 419

Added:
   branches/distr-2.1/pkg/SweaveListingUtils/inst/doc/altPrep.tex
   branches/distr-2.1/pkg/SweaveListingUtils/inst/doc/locChange.tex
Log:
forgot two .tex files for SweaveListingUtils package

Added: branches/distr-2.1/pkg/SweaveListingUtils/inst/doc/altPrep.tex
===================================================================
--- branches/distr-2.1/pkg/SweaveListingUtils/inst/doc/altPrep.tex	                        (rev 0)
+++ branches/distr-2.1/pkg/SweaveListingUtils/inst/doc/altPrep.tex	2009-03-19 17:54:16 UTC (rev 419)
@@ -0,0 +1,10 @@
+<<SweaveListingsPreparations, results=tex, echo=FALSE>>=
+require(SweaveListingUtils)
+### just want to modify 1 entry of option Rset
+### so first copy the default settings:
+Rset0 <- getSweaveListingOption("Rset")
+### change item "basicstyle" in the local copy
+Rset0$"basicstyle" <- "{\\color{Rcolor}\\footnotestyle}"
+SweaveListingoptions(intermediate = FALSE)
+SweaveListingPreparations(Rset=Rset0)
+@

Added: branches/distr-2.1/pkg/SweaveListingUtils/inst/doc/locChange.tex
===================================================================
--- branches/distr-2.1/pkg/SweaveListingUtils/inst/doc/locChange.tex	                        (rev 0)
+++ branches/distr-2.1/pkg/SweaveListingUtils/inst/doc/locChange.tex	2009-03-19 17:54:16 UTC (rev 419)
@@ -0,0 +1,3 @@
+<<changeStyle, results=tex, echo=FALSE>>=
+lstsetR(Rset = list("basicstyle" = "{\\tiny}"))
+@



More information about the Distr-commits mailing list