Re: [Rd] Phonetic symbols (IPA) in R graphics

From: Greg Snow <Greg.Snow_at_intermountainmail.org>
Date: Wed 13 Dec 2006 - 16:51:25 GMT


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@intermountainmail.org
(801) 408-8111
 

-----Original Message-----
From: r-devel-bounces@r-project.org

[mailto:r-devel-bounces@r-project.org] On Behalf Of Giampiero Salvi
Sent: Wednesday, December 13, 2006 7:21 AM To: r-devel@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@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Thu Dec 14 17:21:14 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Thu 14 Dec 2006 - 06:30:53 GMT.

Mailing list information is available at HREF="https://stat.ethz.ch/mailman/listinfo/r-devel">https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.