3
text(x, y, font=2, "text")

changes the font of the whole 'text'.

But is it possible to change the font of a single word in 'text'?

Marco
  • 9,334
  • 7
  • 33
  • 51

1 Answers1

4

Yep!

plot.new()
text(0.5,0.5, expression(paste(bold("bold")," not bold")))

Take a look at ?plotmath for a whole slew of other options and symbols that can be used.

thelatemail
  • 91,185
  • 12
  • 128
  • 188