From Greg.Snow at intermountainmail.org  Wed Dec 13 17:51:25 2006
From: Greg.Snow at intermountainmail.org (Greg Snow)
Date: Wed, 13 Dec 2006 09:51:25 -0700
Subject: [Rd] Phonetic symbols (IPA) in R graphics
Message-ID: <07E228A5BE53C24CAD490193A7381BBB7396ED@LP-EXCHVS07.CO.IHC.COM>

If all else fails (and hopefully someone who knows more about fonts and
such can give you a better suggestion so you don't even have to try
this) then look at the last example for the subplot function in the
TeachingDemos package.  This shows how you can insert images into a
plot, you could create an image file of the symbol you want to use and
then have subplot put it in the correct position. 

Hope this helps,

-- 
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.snow at intermountainmail.org
(801) 408-8111
 

-----Original Message-----
From: r-devel-bounces at r-project.org
[mailto:r-devel-bounces at r-project.org] On Behalf Of Giampiero Salvi
Sent: Wednesday, December 13, 2006 7:21 AM
To: r-devel at r-project.org
Subject: [Rd] Phonetic symbols (IPA) in R graphics

Hi all,
I would like to add phonetic symbols in my figures. Usually I typeset my
documents in LaTeX and I use the tipa [1] package to get International
Phonetic Alphabet (IPA) fonts. So, my problem would be solved if I could
insert LaTeX commands in the text() function (I guess at least).

I would like to avoid using psfrag (that is, inserting a string in the
eps figure and then substituting it with the right symbol with
dvips) because I would like to work with pdf pictures and pdflatex as
well as latex -> dvips -> ps2pdf.

If inserting special fonts is not possible at the moment, I would
appreciate some hints on how I could go about modifying text() to
include this feature. (This is why I post to r-devel instead of
r-help)

Thank you!
Giampiero

[1] http://www.essex.ac.uk/linguistics/clmt/latex4ling/tipa/

______________________________________________
R-devel at r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel



[Rd] Phonetic symbols (IPA) in R graphics
Greg Snow