[R] mtext bold font problem

Joseph Retzer
Sat, 24 Feb 2007 23:12:52 -0000

Hi everyone,
  I suspect this is an easy task however I've not been able to accomplish
it. I'd like to create an mtext title which has certain words bold, the rest
not bold. So far I've been able to create one which is all bold, one which
is all not bold and one which has bold and not bold superimposed on one another.
Any suggestion would be appreciated.
Many thanks,
Joe Retzer

# Not bold
mtext(paste("Overall Satisfaction Call Difference vs. Overall Satisfaction
Rep. Difference"), outer = TRUE, cex = 1.3)

# Bold
 mtext(expression(bold("Overall Satisfaction Call Difference vs. Overall
Satisfaction Rep. Difference")), outer = TRUE, cex = 1.3)

# I'd like to have just the 2 occurrences of the word "Difference"
being bold

	[[alternative HTML version deleted]]