Skip to content
Prev 156618 / 398506 Next

[R-gui] Tinn-R/Latex output

On Fri, Sep 19, 2008 at 4:05 PM, Frank E Harrell Jr
<f.harrell at vanderbilt.edu> wrote:
I have played around with:

\definecolor{comment}{rgb}{0.60, 0.60, 0.53}
\definecolor{background}{rgb}{0.97, 0.97, 1.00}
\definecolor{string}{rgb}{0.863, 0.066, 0.266}
\definecolor{number}{rgb}{0.0, 0.6, 0.6}
\definecolor{variable}{rgb}{0.00, 0.52, 0.70}
\lstset{
  basicstyle=\ttfamily,
  keywordstyle=\bfseries,
  identifierstyle=,
  commentstyle=\color{comment} \itshape,
  stringstyle=, %\color{string}
  showstringspaces=false,
  columns = fullflexible,
  backgroundcolor=\color{background},
  mathescape = true,
  escapeinside=&&,
  fancyvrb
}

Hadley