Dear Max,

I was including the settings in my document, but I also tried setting it
from the command line. This resulted in more of a change, but only in that
the ttBlue now being defined as black rather than blue. So, some effect, but
not all the way.

Here is the session info:

> sessionInfo()
R version 2.8.1 (2008-12-22)
i386-apple-darwin8.11.1

locale:
sv_SE.UTF-8/sv_SE.UTF-8/C/C/sv_SE.UTF-8/sv_SE.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

other attached packages:
[1] car_1.2-12      nlme_3.1-90     odfWeave_0.7.9  XML_2.3-0
lattice_0.17-20

loaded via a namespace (and not attached):
[1] MASS_7.2-46        grid_2.8.1         latticeExtra_0.5-4

/Fredrik



On Fri, Mar 20, 2009 at 4:06 PM, Max Kuhn <mxkuhn@gmail.com> wrote:

> Did you do this within the document, or prior to running odfWeave?
>
> Also, please provide the output of sessionInfo() after starting odfWeave.
>
> Max
>
> On Fri, Mar 20, 2009 at 11:03 AM, Fredrik Karlsson <dargosch@gmail.com>
> wrote:
> > Dear list,
> >
> > The output of my embedded code sections come out in the style "ttBlue"
> wich
> > is Times New Roman and Blue when I open document. I would like to change
> > this to a fixed witdth font, smaller and less blue by using style
> > definitions in the document, but it really does not affect the output.
> >
> > I tried including
> >
> > getStyleDefs() -> styl
> > styl$ttBlue$fontname <- "Courier"
> > styl$ttBlue$fontSize <- "9pt"
> > styl$ttBlue$fontColor <- "#000000"
> > setStyleDefs(styl)
> >
> > at the beginning of the document, but the output is still blue, not fixed
> > width and still 10pt.
> >
> > Any ideas on how to get this to work?
> >
> > /Fredrik
> >
> > --
> > "Life is like a trumpet - if you don't put anything into it, you don't
> get
> > anything out of it."
> >
> >        [[alternative HTML version deleted]]
> >
> > ______________________________________________
> > R-help@r-project.org mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-help
> > PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> > and provide commented, minimal, self-contained, reproducible code.
> >
>
>
>
> --
>
> Max
>



-- 
"Life is like a trumpet - if you don't put anything into it, you don't get
anything out of it."

	[[alternative HTML version deleted]]


