Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

When the Roman characters [a-z0-9] and Chinese characters alternate in XeLaTeX, a space is automatically entered between the two types of character. For example, both Abcde我fg and Abcde 我 fg produce:

spaces entered

Ordinarily, it is stylistically correct to include these spaces, but my question is whether there is a straightforward way to suppress them if I choose to for certain reasons.

(I am using the packages xeCJK and fontspec.)

share|improve this question
add comment

1 Answer 1

up vote 7 down vote accepted

The \CJKsetecglue command sets the separation character between Chinese and English blocks of text, the default being \CJKsetecglue{ }. So a simple \CJKsetecglue{} should do the trick.

share|improve this answer
    
It certainly does. Short and sweet — the kind of TeX solution I like best. Thanks! –  brannerchinese Apr 18 '11 at 12:10
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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