Displaying 5 results from an estimated 5 matches for "definecolor".
2011 Mar 07
2
Sweave with scan()-ed data
....Rnw:43:12: unexpected numeric constant
42: .828
43: .776 .779
^
Is there some switch or option for Sweave that will make this work?
Below is the slide in question in an executable example:
\documentclass[dvipsnames,pdflatex,compress,beamer]{beamer}
\usepackage{Sweave}
\definecolor{Sinput}{rgb}{1,0,0}
\definecolor{Scode}{rgb}{0,0,0.56}
\definecolor{Soutput}{rgb}{0,0,1}
\DefineVerbatimEnvironment{Sinput}{Verbatim}{formatcom={\color{Sinput}},fontsize=\footnotesize,baselinestretch=0.9}
\DefineVerbatimEnvironment{Soutput}{Verbatim}{formatcom={\color{Soutput}},fontsize=\footnotesi...
2008 Jul 27
2
Colors in Sweave
Hi list,
I was using Sweave and was wondering if anyone has had any luck changing the font colors of the code chunks. For instance, in my .Rnw preample I tried including:
===
\usepackage[usenames]{colors}
\definecolor{darkred}{rgb}{0.545,0,0}
\definecolor{midnightblue}{rgb}{0.098,0.098,0.439}
\DefineVerbatimEnvironment{Sinput}{Verbatim}{fontshape=sl,formatcom={\color{midnightblue}}}
\DefineVerbatimEnvironment{Soutput}{Verbatim}{formatcom={\color{darkred}}}
\DefineVerbatimEnvironment{Scode}{Verbatim}{fontshape=sl...
2009 Jan 10
1
Hmisc-xtable label
...ge{amsmath}
\usepackage{floatflt,graphicx,times}
\usepackage[usenames,dvipsnames]{color}
\usepackage{longtable,pdflscape}
\usepackage{rotating}
\usepackage{verbatim}
\usepackage[ps2pdf,
bookmarks=true,
bookmarksnumbered=false,
bookmarksopen=false,
colorlinks=true,
linkcolor=webblue]{hyperref}
\definecolor{webgreen}{rgb}{0, 0.5, 0} % less intense green
\definecolor{webblue}{rgb}{0, 0, 0.5} % less intense blue
\definecolor{webred}{rgb}{0.5, 0, 0} % less intense red
\usepackage[all]{hypcap}
\pdfbookmark[1]{Contents}{table}
\title{BROOD-YEAR 2007 WINTER CHINOOK JUVENILE PRODUCTION}
\author{Felipe D. C...
2002 Nov 13
1
Package documentation and rd.sty
Hi all,
I've got a basic question regarding package documentation and rd.sty. I
wrote my first own package, and now I would like to place the documentation
into the appendix of another LaTex document. Seemingly I cannot simply
\usepackage{Rd}, as this will modify the page-settings of my document. Is
there a minimum style file which will just define the environments and
commands needed for
2009 Jan 15
2
Interface to open source Reporting tools
...usepackage[usenames,dvipsnames]{color}
> \usepackage{longtable,pdflscape}
> \usepackage{rotating}
> \usepackage{verbatim}
> \usepackage[ps2pdf,
> bookmarks=true,
> bookmarksnumbered=false,
> bookmarksopen=false,
> colorlinks=true,
> linkcolor=webblue]{hyperref}
>
> \definecolor{webgreen}{rgb}{0, 0.5, 0} % less intense green
> \definecolor{webblue}{rgb}{0, 0, 0.5} % less intense blue
> \definecolor{webred}{rgb}{0.5, 0, 0} % less intense red
>
> \usepackage[all]{hypcap}
> \pdfbookmark[1]{Contents}{table}
> \title{BROOD-YEAR 2007 WINTER CHINOOK JUVENILE PRO...