search for: framesep

Displaying 1 result from an estimated 1 matches for "framesep".

Did you mean: frameset
2009 Mar 17
1
Combining Sweave and fancyvrb
...t I would like to get, the second what I tried but didn't work. \documentclass[12pt]{article} \usepackage{/usr/local/R-2.7.0-inst/share/texmf/Sweave} \usepackage{fancyvrb} \DefineVerbatimEnvironment{Rcode}{Verbatim}{% commentchar=@, frame=lines, label=\textrm{\bf R code}, numbers=left, framesep=10pt, fontshape=sl, commandchars=\\\{\}} \SweaveOpts{keep.source = TRUE} \begin{document} I would like to produce something like the following, but using Sweave. Note the label on line \ref{Rcode:sum}. \begin{Rcode} > y <- c(53, 57, 66, 67, 72) # count data > n <- length(y) > s &lt...