Emily, 
are you right your code work, but this one maybe work better for you : 

sd2 <-"1.882" 
measure <- "(g/L)" 
direction <- "increase" 
chem <- quote(apoA[bold("1")]) 
        plot(0,0) 
        titletxt <-  substitute(paste(bold(per) ," ", bold(sd2)," 
",bold(measure)," ", bold(direction)," ",,bold("in usual 
"),bold(chem)),list(chem = 
chem,sd2=sd2,measure=measure,direction=direction)) 
title(main=titletxt)

Is not elegant but it work!
Best regard

A.S.

----------------------------

Alessandro Semeria 
Models and Simulations Laboratory
Montecatini Environmental Research Center (Edison Group), 
Via Ciro Menotti 48,
48023 Marina di Ravenna (RA), Italy
Tel. +39 544 536811
Fax. +39 544 538663
E-mail: alessandro.semeria@cramont.it





"Emily Baldock" <emily.baldock@ctsu.ox.ac.uk>
12/11/2004 13.04
Please respond to emily.baldock

 
        To:     asemeria@cramont.it
        cc: 
        Subject:        Re: [R] expressions and paste


I am using the plotmath function and have read a lot about it!
If you run my code, you will find that it works, the problem isn't with 
creating the expression, but with including it 
in the title - the chemistry part of the title is bold, it is the rest of 
the title I want to get bold.
Emily.

On 12 Nov 2004 at 13:12, asemeria@cramont.it wrote:

> 
> 
> The existence of "bold" function in base R library is a news for me! 
> I think that you have to read something about "plotmath" function (with 
it you can write 
> latex-like expressions). 
> Best.
> A.S.
> 
> ----------------------------
> 
> Alessandro Semeria 
> Models and Simulations Laboratory
> Montecatini Environmental Research Center (Edison Group), 
> Via Ciro Menotti 48,
> 48023 Marina di Ravenna (RA), Italy
> Tel. +39 544 536811
> Fax. +39 544 538663
> E-mail: alessandro.semeria@cramont.it
> 
> 
> 





	[[alternative HTML version deleted]]


