[R] Kerning of italic text in plotmath
David Winsemius
dwinsemius at comcast.net
Tue May 15 21:01:38 CEST 2012
On May 15, 2012, at 2:39 PM, Dennis Fisher wrote:
> R 2.14.0
> OS X and Windows
>
> Colleagues
>
> I am trying to add some italicized text to a graphic using the code
> that appears below.
> For the italic text, kerning is not ideal -- spacing between letters
> is larger than I expected.
> Is there a simple solution to this?
Use fewer tildes?
>
> Dennis
>
> plot(1, type="n", axes=F, xlab="", ylab="")
> mtext(side=3, line=-0, "Some Text")
> mtext(side=3, line=-1, expression(italic(Some) ~~ Text))
> mtext(side=3, line=-2, expression(italic(Some) ~~ italic(Text)))
>
>
>
> Dennis Fisher MD
> P < (The "P Less Than" Company)
--
David Winsemius, MD
West Hartford, CT
More information about the R-help
mailing list