Skip to content

Commit 0e745af

Browse files
vignette fixing
1 parent a522edb commit 0e745af

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

vignettes/Rcpp-quickref.Rnw

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,18 @@ prettyDate <- format(Sys.Date(), "%B %e, %Y")
3030
\title{\pkg{Rcpp} Quick Reference Guide}
3131
\date{\pkg{Rcpp} version \Sexpr{prettyVersion} as of \Sexpr{prettyDate}}
3232

33+
\newsavebox{\quickrefbox}
34+
\definecolor{quickrefBg}{rgb}{0.949019607843137,0.949019607843137,0.949019607843137}
35+
\definecolor{quickrefBorder}{rgb}{0,0,0}
3336
\renewenvironment{Hchunk}%
3437
{%
35-
\vspace{0.5em}\noindent\begin{lrbox}{\highlightbox}%
38+
\vspace{0.5em}\noindent\begin{lrbox}{\quickrefbox}%
3639
\begin{minipage}[b]{.42\textwidth}%
3740
}%
3841
{%
3942
\end{minipage}%
4043
\end{lrbox}%
41-
\fcolorbox{highlightBorder}{highlightBg}{\usebox{\highlightbox}}%
44+
\fcolorbox{quickrefBorder}{quickrefBg}{\usebox{\quickrefbox}}%
4245
\vspace{0.5em}}%
4346

4447
\begin{document}

0 commit comments

Comments
 (0)