I am setting a document with Chinese pinyin. I use \- to separate syllables in pinyin phrases (eg. zhong\-wen). This not only allows for proper hyphenation, but also allows spell check in Emacs/AUCtex. A problem occurs with the hyphen for such words as Chang'an or Xi'an. Entering these words as Chang'\-an or Xi'\-an would retain the apostrophe even if hyphenated at the end of the line. Is there a way to make the apostrophe drop if the word is hyphenated, but kept otherwise?


\- is defined via the \discretionary primitive, so you should be able to go


where the arguments are the text to use before a break, after a break, or if no break.

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.