Gabor Grothendieck <[EMAIL PROTECTED]> writes:

> Numbers, not in characters strings do not come out bold:
> 
> plot(1:5, type = "n")
> text(x=3,y=3, quote(bold(paste("a"==a ~~ "0.5" == 0.5))))

(what's the paste() for?)

...and it is a design choice of course. Notice that operators are not
boldfaced either, e.g., in text(x=3,y=3, quote(bold("x"==2*a + b ~~ "x
= 2a+b"))) you get the = and the + in non-bold in the first part
(granted, a bit hard to see for =). As I recall it, LaTeX does
similarly unless you jump through a couple of hoops. It is
intentional, but if you try to do it otherwise you'd run into trouble
with the absense of a bold symbol font.

> On 7/25/05, Wladimir Eremeev <[EMAIL PROTECTED]> wrote:
> > Dear Thomas,
> > 
> > TL> In case 1 you have the string "0.5", in case 2 you have the number 0.5.
> > TL>    text(x=2,y=2, quote(bold("0.5"==0.5)))
> > TL> shows what is happening.
> > 
> > I know about the different types in the cases.
> > That is, 'bold' affects only on text strings.
> > Am I right?
> > 
> > ---
> > Best regards,
> > Wladimir                mailto:[EMAIL PROTECTED]
> > 
> > ______________________________________________
> > [email protected] mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-help
> > PLEASE do read the posting guide! 
> > http://www.R-project.org/posting-guide.html
> >
> 
> ______________________________________________
> [email protected] mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
> 

-- 
   O__  ---- Peter Dalgaard             Ă˜ster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark          Ph:  (+45) 35327918
~~~~~~~~~~ - ([EMAIL PROTECTED])                  FAX: (+45) 35327907

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to