[Rcpp-commits] r3618 - in pkg/Rcpp/inst/doc: Rcpp-FAQ Rcpp-extending Rcpp-package Rcpp-sugar

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Thu May 24 19:16:53 CEST 2012


Author: edd
Date: 2012-05-24 19:16:53 +0200 (Thu, 24 May 2012)
New Revision: 3618

Modified:
   pkg/Rcpp/inst/doc/Rcpp-FAQ/Rcpp-FAQ.Rnw
   pkg/Rcpp/inst/doc/Rcpp-extending/Rcpp-extending.Rnw
   pkg/Rcpp/inst/doc/Rcpp-package/Rcpp-package.Rnw
   pkg/Rcpp/inst/doc/Rcpp-sugar/Rcpp-sugar.Rnw
Log:
make sure Latex's vmargin is called with USletter option


Modified: pkg/Rcpp/inst/doc/Rcpp-FAQ/Rcpp-FAQ.Rnw
===================================================================
--- pkg/Rcpp/inst/doc/Rcpp-FAQ/Rcpp-FAQ.Rnw	2012-05-24 17:14:27 UTC (rev 3617)
+++ pkg/Rcpp/inst/doc/Rcpp-FAQ/Rcpp-FAQ.Rnw	2012-05-24 17:16:53 UTC (rev 3618)
@@ -1,6 +1,6 @@
 \documentclass[10pt]{article}
 %\VignetteIndexEntry{Rcpp-FAQ}
-\usepackage{vmargin}
+\usepackage[USletter]{vmargin}
 \setmargrb{0.75in}{0.75in}{0.75in}{0.75in}
 
 \usepackage{color,alltt}

Modified: pkg/Rcpp/inst/doc/Rcpp-extending/Rcpp-extending.Rnw
===================================================================
--- pkg/Rcpp/inst/doc/Rcpp-extending/Rcpp-extending.Rnw	2012-05-24 17:14:27 UTC (rev 3617)
+++ pkg/Rcpp/inst/doc/Rcpp-extending/Rcpp-extending.Rnw	2012-05-24 17:16:53 UTC (rev 3618)
@@ -1,6 +1,6 @@
 \documentclass[10pt]{article}
 %\VignetteIndexEntry{Rcpp-extending}
-\usepackage{vmargin}
+\usepackage[USletter]{vmargin}
 \setmargrb{0.75in}{0.75in}{0.75in}{0.75in}
 
 \usepackage{color, alltt}

Modified: pkg/Rcpp/inst/doc/Rcpp-package/Rcpp-package.Rnw
===================================================================
--- pkg/Rcpp/inst/doc/Rcpp-package/Rcpp-package.Rnw	2012-05-24 17:14:27 UTC (rev 3617)
+++ pkg/Rcpp/inst/doc/Rcpp-package/Rcpp-package.Rnw	2012-05-24 17:16:53 UTC (rev 3618)
@@ -1,6 +1,6 @@
 \documentclass[10pt]{article}
 %\VignetteIndexEntry{Rcpp-package}
-\usepackage{vmargin}
+\usepackage[USletter]{vmargin}
 \setmargrb{0.75in}{0.75in}{0.75in}{0.75in}
 \usepackage{color,alltt}
 \usepackage[authoryear,round,longnamesfirst]{natbib}
@@ -180,8 +180,8 @@
 package \texttt{mypackage}.
 
 <<echo=FALSE,results=tex>>=
-highlight( 
-    file.path( gendir, "mypackage", "R", "rcpp_hello_world.R" ), 
+highlight(
+    file.path( gendir, "mypackage", "R", "rcpp_hello_world.R" ),
     renderer = renderer_latex( doc = FALSE )
     )
 @
@@ -202,9 +202,9 @@
 header file:
 
 <<echo=FALSE,results=tex>>=
-external_highlight( 
+external_highlight(
     file.path( gendir, "mypackage", "src", "rcpp_hello_world.h" ),
-    type = "LATEX", 
+    type = "LATEX",
     doc = FALSE
     )
 @
@@ -214,9 +214,9 @@
 the \texttt{rcpp\_hello\_world.cpp} file
 
 <<echo=FALSE,results=tex>>=
-external_highlight( 
-    file.path( gendir, "mypackage", "src", "rcpp_hello_world.cpp" ), 
-    type = "LATEX", 
+external_highlight(
+    file.path( gendir, "mypackage", "src", "rcpp_hello_world.cpp" ),
+    type = "LATEX",
     doc = FALSE
 )
 @

Modified: pkg/Rcpp/inst/doc/Rcpp-sugar/Rcpp-sugar.Rnw
===================================================================
--- pkg/Rcpp/inst/doc/Rcpp-sugar/Rcpp-sugar.Rnw	2012-05-24 17:14:27 UTC (rev 3617)
+++ pkg/Rcpp/inst/doc/Rcpp-sugar/Rcpp-sugar.Rnw	2012-05-24 17:16:53 UTC (rev 3618)
@@ -1,6 +1,6 @@
 \documentclass[10pt]{article}
 %\VignetteIndexEntry{Rcpp-sugar}
-\usepackage{vmargin}
+\usepackage[USletter]{vmargin}
 \setmargrb{0.75in}{0.75in}{0.75in}{0.75in}
 
 \usepackage{color, alltt}



More information about the Rcpp-commits mailing list