5
\documentclass{article}
\usepackage{pstricks,pst-xkey,pst-asr,graphicx}\psset{everyasr=\tiershortcuts} 

\begin{document}

\asr pem \endasr

\end{document}

Hi, there

How can I use IPA symbols between \asr \endasr? For example from the upper code, I'd like to make it \asr pɛɱ \endasr.

Thank you in advance.

Alan Munn
  • 218,180

2 Answers2

6

Simply load the package tipa which defines IPA symbols and use them as in

\asr p{\textepsilon}{\textltailm} \endasr

MWE

\documentclass{article}
\usepackage{pstricks,pst-xkey,pst-asr,graphicx}\psset{everyasr=\tiershortcuts}
\usepackage{tipa}
\begin{document}

\asr p{\textepsilon}{\textltailm} \endasr

\end{document} 

Output

enter image description here

karlkoeller
  • 124,410
4

You can just type them directly using a Unicode IPA keyboard layout or paste from an online IPA picker (see my answer to Accessing IPA characters when using Charis SIL for discussion of these options). Use fontspec to declare a Unicode font that has the characters you need, and then run the file with XeLaTeX instead of LaTeX. See Typesetting phonetic symbols: Unicode or tipa? for a list of reasons to use Unicode instead of tipa.

\documentclass{article}
\usepackage{pstricks}
\usepackage{pst-xkey}
\usepackage{pst-asr}
\psset{everyasr=\tiershortcuts}
\usepackage{fontspec} % you need this to be able to use a system font in XeLaTeX or LuaLaTeX
\setmainfont{Charis SIL} % you can load any font you have on your system

\begin{document}

\asr pɛɱ \endasr % no extra markup needed for the IPA characters

\end{document}

enter image description here

Jason Zentz
  • 4,158