The xpinyin package provides a way to annotate Chinese characters with their Latin phonetic transcriptions. For characters with multiple pronunciations, one would use


to provide the correct phonetic transcription. However, \xpinyin doesn't seem to obey the spacing settings of the pinyinscope environment, as illustrated in the following example (notice the overlap of duan and xiang):



enter image description here

The problem remains if the option hsep=1ex is given when loading the package.

How to solve this problem?

  • This is a bug of xpinyin. We'll fix it soon.
    – Leo Liu
    Jan 4, 2014 at 6:30
  • 1
    Before the bug is fixed, you can manually add a \CJKglue before \xpinyin in the middle of the sentence.
    – Leo Liu
    Jan 4, 2014 at 7:11

1 Answer 1


This bug has just been fixed in the new version which was submitted to CTAN. You may update your system in a few days to get it.

Update: The new version is available in TeX Live 2013.

You must log in to answer this question.

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