# Using tipa with XeLaTeX fontspec and real UTF-8 characters

Following on from the post Using TIPA with fontspec, how would I go about using IPA glyphs with XeLaTeX using the actual Unicode UTF-8 characters instead of using the tipa re-encoding? That is, using tipa you can say

\textipa{f@"nEtIks}


but I'd like just to be able to type

fə′nɛtɪks


or even

\textipa{fə′nɛtɪks}


that is, using the actual UTF-8 characters, not the tipa symbolic notation. Is this possible?

• Did you try? (Spoiler: it works) Jun 10 '15 at 12:23
• @Sverre it doesn't work with the default (lm) fonts though, missing characters in that case. Jun 10 '15 at 12:29
• @DavidCarlisle True, but since the OP explicitly mentions fontspec, xelatex, Unicode, and UTF-8, I take it for granted that the OP knows how to load unicode fonts with fontspec. (Isn't the default font cm, btw?) Jun 10 '15 at 13:10
• @Sverre no, not with fontspec switches to lm Jun 10 '15 at 13:56
• This question is essentially a cross between Accessing IPA characters when using Charis SIL, which is about how to input UTF-8 characters when using fontspec and xelatex, and Proper way to use LaTeX fonts in XeLaTeX. The added dimension is that tipa is the only font with T3 encoding. Jun 10 '15 at 16:37

As long as you have a font with the characters, why not?

The above being the output from

\documentclass{article}

\usepackage{fontspec}
\setmainfont{Arial}
\begin{document}

fə′nɛtɪks

\end{document}

• Good point. I was hoping to be able to use the tipa fonts but I guess I'll need to write a remapping shim to do that. Jun 10 '15 at 15:28
• @PeterFlynn The TIPA fonts are included in cm-unicode. Jun 11 '15 at 11:43