I often mix English words in my Chinese texts. When doing that, I want to add a space before the English words. For example:

XXXX wwwww wwwww wwwww XXXX

where X's are Chinese characters and w's are English letters.

The only problem is the space marked *, where the Chinese characters end and the English words start. Latex seems to swallow up that space, but I want it to be there.

Is there an automatic command that can handle this?

PS: right now my solution is to manually add a space by '\ ' whenever I insert English.

closed as unclear what you're asking by egreg, Andrew, user31729, user13907, Andrew Swann May 10 '15 at 13:06

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • more information would be helpful. for example, what document class and packages. the answer will be found in them. – barbara beeton Mar 10 '15 at 13:00
  • Please add a Minimal working example – Dolphin Mar 10 '15 at 15:30
  • Thanks, but I found the solution.. see my answer. – Yan King Yin Mar 11 '15 at 8:12

I found that my problem is gone when I run XeLatex in TexMaker with this:

\documentclass[12pt, UTF8, nofonts]{article}

I used the pdfLatex command and apparently, it is not good at handling some subtleties of Asian texts. Now the space between English and Chinese texts is added automatically.

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