[Rcpp-commits] r4522 - pkg/Rcpp/vignettes

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Thu Sep 19 19:07:36 CEST 2013


Author: romain
Date: 2013-09-19 19:07:35 +0200 (Thu, 19 Sep 2013)
New Revision: 4522

Modified:
   pkg/Rcpp/vignettes/Rcpp-quickref.Rnw
Log:
vignette fixing

Modified: pkg/Rcpp/vignettes/Rcpp-quickref.Rnw
===================================================================
--- pkg/Rcpp/vignettes/Rcpp-quickref.Rnw	2013-09-19 15:16:41 UTC (rev 4521)
+++ pkg/Rcpp/vignettes/Rcpp-quickref.Rnw	2013-09-19 17:07:35 UTC (rev 4522)
@@ -30,15 +30,18 @@
 \title{\pkg{Rcpp} Quick Reference Guide}
 \date{\pkg{Rcpp} version \Sexpr{prettyVersion} as of \Sexpr{prettyDate}}
 
+\newsavebox{\quickrefbox}
+\definecolor{quickrefBg}{rgb}{0.949019607843137,0.949019607843137,0.949019607843137}
+\definecolor{quickrefBorder}{rgb}{0,0,0}
 \renewenvironment{Hchunk}%
 {%
-\vspace{0.5em}\noindent\begin{lrbox}{\highlightbox}%
+\vspace{0.5em}\noindent\begin{lrbox}{\quickrefbox}%
 \begin{minipage}[b]{.42\textwidth}%
 }%
 {%
 \end{minipage}%
 \end{lrbox}%
-\fcolorbox{highlightBorder}{highlightBg}{\usebox{\highlightbox}}%
+\fcolorbox{quickrefBorder}{quickrefBg}{\usebox{\quickrefbox}}%
 \vspace{0.5em}}%
 
 \begin{document}



More information about the Rcpp-commits mailing list