1

Using XeLaTeX, this piece of code produces:

\documentclass{article}
\usepackage[tone]{tipa}
\begin{document}
    \textipa{
    j\textturna u\tone{12}
    }
\end{document}

tex1

However, the the tone bar is broken when xeCJK package is added in:

\documentclass{article}
\usepackage[tone]{tipa}
\usepackage{xeCJK}
\begin{document}
    \textipa{
    j\textturna u\tone{12}
    }
\end{document}

tex2

and a warning message is given:

LaTeX Font Warning: Font shape `T3/lmr/m/n' undefined
(Font)              using `T3/cmr/m/n' instead
(Font)              for symbol `textturna' on input line 21.

LaTeX Font Warning: Some font shapes were not available, defaults substituted.

Adding in inputenc or fontenc does not seem to fix this problem. I think there is a font conflict but I am not sure how to restore the "original" tipa font.

2

xeCJK loads xunicode and xunicode overwrites all the tipa definition. So you can't use tipa together with xeCJK package. You will have to use the definitions of xunicode and -- as the default font don't show your symbols -- search for a suitable font. Suppressing xunicode as in this answer https://tex.stackexchange.com/a/127564/2388 is imho with xeCJK not an option.

\documentclass{article}

\usepackage{xeCJK}
\newfontfamily\mytipafont{Doulos SIL}
\def\useTIPAfont{\mytipafont}

\begin{document}
    \textipa{j\textturna u\tone{12}}
\end{document}

enter image description here

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.