[R] title in bold - simple question in R 1.9.0

Dimitris Rizopoulos dimitris.rizopoulos at med.kuleuven.ac.be
Thu Oct 7 16:07:00 CEST 2004


Hi Bruno,

you'd probably need the following:

plot(0)
title(main=expression(paste(bold("Hello"), " world")), font.main=1)

I hope it helps.

Best,
Dimitris

----
Dimitris Rizopoulos
Ph.D. Student
Biostatistical Centre
School of Public Health
Catholic University of Leuven

Address: Kapucijnenvoer 35, Leuven, Belgium
Tel: +32/16/396887
Fax: +32/16/337015
Web: http://www.med.kuleuven.ac.be/biostat/
     http://www.student.kuleuven.ac.be/~m0390867/dimitris.htm



----- Original Message ----- 
From: "Bruno Cutayar" <bcutayar at lfdj.com>
To: <r-help at stat.math.ethz.ch>
Sent: Thursday, October 07, 2004 3:39 PM
Subject: [R] title in bold - simple question in R 1.9.0


>
>
> Hi,
> how can i write this simple sentence : "Hello world" with "Hello" 
> only in bold ?
> I try
> > plot(1:5)
> > title(main=paste(expression(bold("Hello")),"world",sep=" "))
> but the result is wrong.
>
> thanks,
> Bruno
>
>
> Si vous n'etes pas destinataires de ce message, merci d'avertir 
> l'expediteur de l'erreur de distribution et de le detruire 
> immediatement.
> Ce message contient des informations confidentielles ou appartenant 
> a La Francaise des Jeux. Il est etabli a l'intention exclusive de 
> ses destinataires. Toute divulgation, utilisation, diffusion ou 
> reproduction (totale ou partielle) de ce message ou des informations 
> qu'il contient, doit etre prealablement autorisee.
> Tout message electronique est susceptible d'alteration et son 
> integrite ne peut etre assuree. La Francaise des Jeux decline toute 
> responsabilite au titre de ce message s'il a ete modifie ou 
> falsifie.
>
> If you are not the intended recipient of this e-mail, please notify 
> the sender of the wrong delivery and delete it immediately from your 
> system.
> This e-mail contains confidential information or information 
> belonging to La Francaise des Jeux and is intended solely for the 
> addressees. The unauthorised disclosure, use, dissemination or 
> copying (either whole or partial) of this e-mail, or any information 
> it contains, is prohibited.
> E-mails are susceptible to alteration and their integrity cannot be 
> guaranteed. La Francaise des Jeux shall not be liable for this 
> e-mail if modified or falsified.
>
> ______________________________________________
> R-help at 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
>




More information about the R-help mailing list