[XeTeX] xunicode and TIPA

Alan Munn amunn at gmx.com
Wed Jul 28 18:06:22 CEST 2010


On Jul 28, 2010, at 11:45 AM, Philip Taylor (Webmaster, Ret'd) wrote:

> Maybe you could hack something better along these lines, Alan :
>
> % !TEX TS-program = XeLaTeX
> \documentclass{article}
> \usepackage{xltxtra}
> \newfontfamily{\ipafont}{Doulos SIL}
> \def\useTIPAfont{\ipafont}
> \newenvironment{IPA}{\ipafont}{} % I know this isn't sufficient
> \begin{document}
> \textipa{RPAQIOE} % This will give you correct phonetic characters
> \begin{textipa}
>    \bgroup
>        RPAQIOE
>    \egroup % This might !
> \end{textipa}
> \end{document}


Thanks,

That works within the environment, but is there a way to incorporate  
into the environment definition itself? (Otherwise it defeats the  
purpose of trying to deal with legacy code.)

Alan

-- 
Alan Munn
amunn at gmx.com






More information about the XeTeX mailing list