From: Peter Dalgaard <p.dalgaard_at_biostat.ku.dk>

Date: Sat 30 Jul 2005 - 17:16:26 EST

Date: Sat 30 Jul 2005 - 17:16:26 EST

Gabor Grothendieck <ggrothendieck@gmail.com> 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 <wl@eimb.ru> 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:wl@eimb.ru
**> >
**> > ______________________________________________
**> > R-help@stat.math.ethz.ch mailing list
**> > https://stat.ethz.ch/mailman/listinfo/r-help
**> > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
**> >
**>
**> ______________________________________________
**> R-help@stat.math.ethz.ch 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 ~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk) FAX: (+45) 35327907 ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.htmlReceived on Sat Jul 30 17:24:27 2005

*
This archive was generated by hypermail 2.1.8
: Fri 03 Mar 2006 - 03:39:37 EST
*