Sweave:How to load available colors from pkg 'color'--(Resolved)

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Sweave:How to load available colors from pkg 'color'--(Resolved)

Felipe Carrillo
Hello: I found a solution to my problem here, I just downloaded mystyle.sty to the same directory where my latex file resides. Then I included \usepackage{mystyle} in my preamble and that took care of coloring any section of the document.
Is there a shorter way to color the abstract,sections subsections and page headings of a document. I am using the code below in my preamble to accomplish some of it:

% and fix pdf colour problems

Also,'\usepackage[usenames]{color}' is suppossed to load all the available colors in the package 'color' but for some reason it doesn't  load them when running it trhough Sweave. It loads all the colors if I run it outside R though.
Here's a dummy document:

Felipe D. Carrillo  
Supervisory Fishery Biologist  
Department of the Interior  
US Fish & Wildlife Service  
California, USA

[hidden email] mailing list
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.