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]]
On Feb 24, 2007, at 6:12 PM, Joseph Retzer wrote:> I'd like to create an mtext title which has certain words bold, the > rest not bold.x <- 1:10 y <- x^2 plot(x, y, main = expression(paste( "Overall Satisfaction Call", bold(" Difference "), "vs. Overall Satisfaction Rep.", bold(" Difference"))) ) _____________________________ Professor Michael Kubovy University of Virginia Department of Psychology USPS: P.O.Box 400400 Charlottesville, VA 22904-4400 Parcels: Room 102 Gilmer Hall McCormick Road Charlottesville, VA 22903 Office: B011 +1-434-982-4729 Lab: B019 +1-434-982-4751 Fax: +1-434-982-4766 WWW: http://www.people.virginia.edu/~mk9y/