[R] mixed fonts

Sundar Dorai-Raj doraiss at auburn.edu
Wed Oct 24 22:42:26 CEST 2001

Any way of mixing bold and plain fonts in text() (or mtext(), etc.)? I'm
looking for a solution that doesn't require manually spacing two calls
of text(). For example:

text(x=0,y=0,labels="bold(Figure 1.) plain(This is a picture.)")

where "Figure 1." is bold-faced and "This is a picture." is plain-faced.
I've tried to trick plotmath into doing this but have been unsuccessful.

Thanks in advance.


> version
platform i386-pc-mingw32
arch     x86            
os       Win32          
system   x86, Win32     
major    1              
minor    3.0            
year     2001           
month    06             
day      22             
language R

Sundar Dorai-Raj, Ph.D.
Assistant Professor
Discrete & Statistical Sciences   Office: (334) 844-3647
231 Allison Lab                   Fax: (334) 844-3611
Auburn University                 Email: dorairaj at dms.auburn.edu
Auburn AL 36849-5307              http://www.dms.auburn.edu/~dorairaj/

r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list