The correct way to mix the Chinese characters and Roman alphabets

I wonder what kind of space do we need to put between Chinese characters and Roman alphabets, including formulae? I don’t know how the typesetting algorithm works so I don’t know what is the proper way to do that.

1 Like

Can you explain better the problem? Note that if you are in math mode and you want to write text then you will have to enter a sub text mode, there the spaces will be treated like usual spaces. In math mode a single hit of “space” key will insert a “function application” not a visual space between glyphs. For real space you need to hit “space tab” for example (if I remember correctly).

This is a question, not a problem, and I was asking general suggestions, which depends on the typesetting algorithm.

Many languages use spaces to break sentences into words. In TeXmacs, the lengths of these spaces are variable determined by typesetting algorithms which also determines where to break lines. (By the way, I know that we can use things like (space "4pt") to fix the length of the space, but of course it should not be generally used.)

However, in languages like Chinese, Japanese and Korean, one does not use spaces to break sentences, so I am not sure what TeXmacs will do when it sees a space in such settings. As a reference, I see that the document made by @darcy does not use spaces to separate Chinese characters and Roman alphabets or numbers, in particular mathematical formulae. I was simply asking what is suggested.


As we know,characters in CJK text is aligned to both a horizenal and vertical mesh, but In this case, text and formula are not aligned properly.Can texmacs adjust these word margin?

I took the liberty to link to your question in the TeXmacs mailing list (http://lists.texmacs.org/wws/arc/texmacs-users/2021-03/msg00054.html).
Perhaps someone will be then able to answer :slight_smile:

And you have an answer too: http://lists.texmacs.org/wws/arc/texmacs-users/2021-03/msg00055.html

If you want, it is probably best to continue the conversation on the mailing list itself (instructions for subscribing at https://www.texmacs.org/tmweb/home/ml.en.html).
Since it is inconvenient to respond to a message that got sent before you subscribed (to do that, you have to edit the In-Reply-To header as far as I understand), you might open a new conversation referring to this forum thread and the mailing list messages I linked above.

I hope this helps.
G.

EDIT: There is one more posting on your topic on the texmacs-dev mailing list: you can see it at https://lists.gnu.org/archive/html/texmacs-dev/2021-03/msg00027.html