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

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Wed Sep 18 17:59:16 CEST 2013


Author: romain
Date: 2013-09-18 17:59:15 +0200 (Wed, 18 Sep 2013)
New Revision: 4515

Modified:
   pkg/Rcpp/vignettes/Rcpp-quickref.Rnw
Log:
boxes were spanning the entire textwidth

Modified: pkg/Rcpp/vignettes/Rcpp-quickref.Rnw
===================================================================
--- pkg/Rcpp/vignettes/Rcpp-quickref.Rnw	2013-09-18 15:49:12 UTC (rev 4514)
+++ pkg/Rcpp/vignettes/Rcpp-quickref.Rnw	2013-09-18 15:59:15 UTC (rev 4515)
@@ -30,17 +30,16 @@
 \title{\pkg{Rcpp} Quick Reference Guide}
 \date{\pkg{Rcpp} version \Sexpr{prettyVersion} as of \Sexpr{prettyDate}}
 
-% \newsavebox{\highlightbox}
-% \renewenvironment{Hchunk}%
-% {%
-% \vspace{0.5em}\noindent\begin{lrbox}{\highlightbox}%
-% \begin{minipage}[b]{.42\textwidth}%
-% }%
-% {%
-% \end{minipage}%
-% \end{lrbox}%
-% \fcolorbox{highlightBorder}{highlightBg}{\usebox{\highlightbox}}%
-% \vspace{0.5em}}%
+\renewenvironment{Hchunk}%
+{%
+\vspace{0.5em}\noindent\begin{lrbox}{\highlightbox}%
+\begin{minipage}[b]{.42\textwidth}%
+}%
+{%
+\end{minipage}%
+\end{lrbox}%
+\fcolorbox{highlightBorder}{highlightBg}{\usebox{\highlightbox}}%
+\vspace{0.5em}}%
 
 \begin{document}
 \maketitle



More information about the Rcpp-commits mailing list