Blog 1

Random Talk on Random Thoughts

IPA Symbols in $\rm \LaTeX$

| Comments |

Target

target

Failed attempts

  • Googled “xelatex ipa symbols”
  • Tried the tipa package, and got the error “command sups already defined”.1

Source code

I limited the above google search to academic sites only2, and I luckily found a blog post which inspired me to work out the following example. (This link to the post is included in the footnotes.)

A minimum working example
1
2
3
4
5
6
\documentclass[border=5pt]{standalone}
\usepackage{fontspec}
\newfontfamily{\LL}{Linux Libertine O}
\begin{document}
Examples of nasal vowels: {\LL /ɑ̃/, /ɛ̃/, /ɔ̃/}
\end{document}

Explanation

Line 2: For inserting characters with accents, for example, ‘é’ and ‘ö’. Without this line, those characters won’t be processed by the typesetting system.

Line 3: For changing to a font that supports IPA symbols. Here are the sources of inspirations.


  1. I gave up trying tipa after reading $\rm \TeX$ tips for linguists by Kyle Gorman. 

  2. This can done by appending “site:*.edu” to the query string. 

Comments