You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to write the name of a function in raw text with parentheses, and then I found that there were no spaces between it and the subsequent CJK text. Logically speaking, regardless of the content in raw text, it should be considered as Latin text.
Yes, as mentioned in the reference document, the text in the raw text will be in mono and is typically used to display code. Of course, CJK text can also be placed in raw text and displayed as mono, but this is an edge case. If someone really wants to display CJK text in mono, it should use methods like #set text instead of relying on raw text.
changed the title [-]Whitespace Between CJK & Latin not Working with Some Raw Text[/-][+]Whitespace between CJK & Latin not working with some raw text[/+]on Nov 17, 2023
changed the title [-]Whitespace between CJK & Latin not working with some raw text[/-][+]CJK-Latin-spacing not working with raw text[/+]on Nov 17, 2023
Activity
Enter-tainer commentedon Nov 17, 2023
currently it only considers texts within the text element.
I dont know if this is possible. Maybe we should also consider math equation and so on.
Enter-tainer commentedon Nov 17, 2023
Do you mean we should always add space between code blocks and cjk character?
jiaojiaodubai commentedon Nov 17, 2023
Yes, as mentioned in the reference document, the text in the raw text will be in mono and is typically used to display code. Of course, CJK text can also be placed in raw text and displayed as mono, but this is an edge case. If someone really wants to display CJK text in mono, it should use methods like
#set textinstead of relying on raw text.[-]Whitespace Between CJK & Latin not Working with Some Raw Text[/-][+]Whitespace between CJK & Latin not working with some raw text[/+]Enter-tainer commentedon Nov 17, 2023
maybe this issue should be renamed to cjk-raw spacing or something similar
[-]Whitespace between CJK & Latin not working with some raw text[/-][+]CJK-Latin-spacing not working with raw text[/+]