From p.murrell at auckland.ac.nz  Wed Dec 13 19:44:53 2006
From: p.murrell at auckland.ac.nz (Paul Murrell)
Date: Thu, 14 Dec 2006 07:44:53 +1300
Subject: [Rd] Phonetic symbols (IPA) in R graphics
In-Reply-To: <Pine.LNX.4.58.0612131459410.956@ctt35.speech.kth.se>
References: <Pine.LNX.4.58.0612131459410.956@ctt35.speech.kth.se>
Message-ID: <45804A25.2040903@stat.auckland.ac.nz>

Hi


Giampiero Salvi wrote:
> 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.


Take a look at ...

Fonts, lines, and transparency in R graphics. R News, 4(2):5-9,
September 2004.

Non-standard fonts in PostScript and PDF graphics. R News, 6(2):41-47,
May 2006.

http://www.stat.auckland.ac.nz/~paul/Talks/fonts.pdf

Paul


> 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

-- 
Dr Paul Murrell
Department of Statistics
The University of Auckland
Private Bag 92019
Auckland
New Zealand
64 9 3737599 x85392
paul at stat.auckland.ac.nz
http://www.stat.auckland.ac.nz/~paul/



[Rd] Phonetic symbols (IPA) in R graphics
Paul Murrell