-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Labels
Description
Currently, it is quite cumbersome to print parts of labels (like title, subtitle) as italic or bold. For my field of medical microbiology this is quite important; we write names of microorganisms italic, so a title could be "Resistance of Amoxicillin in E. coli"
We now use combinations of expression
and bquote
to make it possible to parametrise it, but that's really hard and error prone. Could you support anything like we're used to from RMarkdown?
ggplot(data, aes(x, y)) +
geom_anything +
labs(title = "Resistance of Amoxicillin in *E. coli*")
I'm not the only one:
- R ggplot How to italicize part one or two words of an axis title http://stackoverflow.com/questions/32555531/ddg#32559133
- Using italic() with a variable in ggplot2 title expression http://stackoverflow.com/questions/31927984/ddg#31928067
- How to italicize part (one or two words) of an axis title https://stackoverflow.com/questions/32555531
Without really convenient solutions.
mikmart, bschneidr, rdornas, MirzaCengic, tbadams45 and 3 more