I'm writing a small article that includes a section about Greek, Arabic and Hebrew phonetic alphabet and sounds.
After reading this, this and this, it's a bit blurry on what the best practice is to add phonetic alphabet and sounds to a LaTeX document? That is, a solution that provides the phonetic symbols, markers, layout etc., but also how to mark/highlight each sound (e.g.
/l/) in the text (rather than typing in forward slash and including a character that represents a sound).
Typesetting using XeLaTeX, document class
memoir and with packages