File tree Expand file tree Collapse file tree 7 files changed +46
-0
lines changed
Expand file tree Collapse file tree 7 files changed +46
-0
lines changed Original file line number Diff line number Diff line change 1+ 2014-01-31 Dirk Eddelbuettel <edd@debian.org>
2+
3+ * vignettes/Rcpp-FAQ.Rnw: Render code with background boxen
4+ * vignettes/Rcpp-package.Rnw: Idem
5+ * vignettes/Rcpp-modules.Rnw: Idem
6+ * vignettes/Rcpp-extending.Rnw: Idem
7+ * vignettes/Rcpp-sugar.Rnw: Idem
8+
192014-01-28 Dirk Eddelbuettel <edd@debian.org>
210
311 * vignettes/Rcpp-FAQ.Rnw: Some updates for upcoming release
Original file line number Diff line number Diff line change 3232 \item Changes in Rcpp documentation :
3333 \itemize {
3434 \item The Rcpp - FAQ vignette have been updated and expanded.
35+ \item Vignettes are now typeset with grey background for code boxes.
3536 }
3637 }
3738}
Original file line number Diff line number Diff line change 3434\newcommand {\hlboxbacktick }{ \hlnormalsizeboxbacktick }
3535\newcommand {\hlboxunderscore }{ \hlnormalsizeboxunderscore }
3636
37+ % % This corresponds to setting boxes=TRUE for highlight
38+ \newsavebox {\hlbox }
39+ \definecolor {hlBg}{rgb}{0.949019607843137,0.949019607843137,0.949019607843137}
40+ \definecolor {hlBd}{rgb}{0,0,0}
41+ \renewenvironment {Hchunk}{\vspace {0.5em}\noindent \begin {lrbox }{\hlbox }\begin {minipage }[b]{.9\textwidth }}%
42+ {\end {minipage}\end {lrbox}\fcolorbox {hlBd}{hlBg}{\usebox {\hlbox }}\vspace {0.5em}}
43+
3744\newcommand {\faq }[1]{FAQ~\ref {#1 }}
3845\newcommand {\rdoc }[2]{\href {http://www.rdocumentation.org/packages/#1/functions/#2}{\code {#2}}}
3946
Original file line number Diff line number Diff line change 3333\newcommand {\hlboxbacktick }{ \hlnormalsizeboxbacktick }
3434\newcommand {\hlboxunderscore }{ \hlnormalsizeboxunderscore }
3535
36+ % % This corresponds to setting boxes=TRUE for highlight
37+ \newsavebox {\hlbox }
38+ \definecolor {hlBg}{rgb}{0.949019607843137,0.949019607843137,0.949019607843137}
39+ \definecolor {hlBd}{rgb}{0,0,0}
40+ \renewenvironment {Hchunk}{\vspace {0.5em}\noindent \begin {lrbox }{\hlbox }\begin {minipage }[b]{.9\textwidth }}%
41+ {\end {minipage}\end {lrbox}\fcolorbox {hlBd}{hlBg}{\usebox {\hlbox }}\vspace {0.5em}}
42+
3643<<echo =FALSE ,print =FALSE >>=
3744prettyVersion <- packageDescription(" Rcpp" )$ Version
3845prettyDate <- format(Sys.Date(), " %B %e, %Y" )
Original file line number Diff line number Diff line change 2727\newcommand {\proglang }[1]{\textsf {#1}}
2828\newcommand {\pkg }[1]{{\fontseries {b}\selectfont #1}}
2929
30+ % % This corresponds to setting boxes=TRUE for highlight
31+ \newsavebox {\hlbox }
32+ \definecolor {hlBg}{rgb}{0.949019607843137,0.949019607843137,0.949019607843137}
33+ \definecolor {hlBd}{rgb}{0,0,0}
34+ \renewenvironment {Hchunk}{\vspace {0.5em}\noindent \begin {lrbox }{\hlbox }\begin {minipage }[b]{.9\textwidth }}%
35+ {\end {minipage}\end {lrbox}\fcolorbox {hlBd}{hlBg}{\usebox {\hlbox }}\vspace {0.5em}}
36+
3037<<echo =FALSE ,print =FALSE >>=
3138suppressMessages(require(Rcpp ))
3239prettyVersion <- packageDescription(" Rcpp" )$ Version
Original file line number Diff line number Diff line change 2626\newcommand {\proglang }[1]{\textsf {#1}}
2727\newcommand {\pkg }[1]{{\fontseries {b}\selectfont #1}}
2828
29+ % % This corresponds to setting boxes=TRUE for highlight
30+ \newsavebox {\hlbox }
31+ \definecolor {hlBg}{rgb}{0.949019607843137,0.949019607843137,0.949019607843137}
32+ \definecolor {hlBd}{rgb}{0,0,0}
33+ \renewenvironment {Hchunk}{\vspace {0.5em}\noindent \begin {lrbox }{\hlbox }\begin {minipage }[b]{.9\textwidth }}%
34+ {\end {minipage}\end {lrbox}\fcolorbox {hlBd}{hlBg}{\usebox {\hlbox }}\vspace {0.5em}}
35+
2936<<version ,echo =FALSE ,print =FALSE >>=
3037prettyVersion <- packageDescription(" Rcpp" )$ Version
3138prettyDate <- format(Sys.Date(), " %B %e, %Y" )
Original file line number Diff line number Diff line change 2929\newcommand {\ith }{\textsl {i}-\textsuperscript {th}}
3030\newcommand {\code }[1]{\texttt {#1 }}
3131
32+
33+ % % This corresponds to setting boxes=TRUE for highlight
34+ \newsavebox {\hlbox }
35+ \definecolor {hlBg}{rgb}{0.949019607843137,0.949019607843137,0.949019607843137}
36+ \definecolor {hlBd}{rgb}{0,0,0}
37+ \renewenvironment {Hchunk}{\vspace {0.5em}\noindent \begin {lrbox }{\hlbox }\begin {minipage }[b]{.9\textwidth }}%
38+ {\end {minipage}\end {lrbox}\fcolorbox {hlBd}{hlBg}{\usebox {\hlbox }}\vspace {0.5em}}
39+
40+
3241<<echo =FALSE ,print =FALSE >>=
3342prettyVersion <- packageDescription(" Rcpp" )$ Version
3443prettyDate <- format(Sys.Date(), " %B %e, %Y" )
You can’t perform that action at this time.
0 commit comments