5

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?

5
  • Did you try? (Spoiler: it works)
    – Sverre
    Commented Jun 10, 2015 at 12:23
  • 1
    @Sverre it doesn't work with the default (lm) fonts though, missing characters in that case. Commented Jun 10, 2015 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?)
    – Sverre
    Commented Jun 10, 2015 at 13:10
  • 1
    @Sverre no, not with fontspec switches to lm Commented Jun 10, 2015 at 13:56
  • 1
    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. Commented Jun 10, 2015 at 16:37

1 Answer 1

5

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

enter image description here

The above being the output from

\documentclass{article}

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

fə′nɛtɪks

\end{document}
2
  • 1
    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. Commented Jun 10, 2015 at 15:28
  • @PeterFlynn The TIPA fonts are included in cm-unicode.
    – Sverre
    Commented Jun 11, 2015 at 11:43

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .