-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Too wide spacing between heading numbering and title in CJK #5778
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't workingcjkChinese, Japanese, Korean typography.Chinese, Japanese, Korean typography.textRelated to the text category, which is all about text handling, shaping, etc.Related to the text category, which is all about text handling, shaping, etc.
Description
Description
I noticed that typst will automatically add a 0.3em width space after the heading's numbering, which is usually fine, but Chinese is used to use the full-width symbols 、 as the symbol for the heading's numbering, and both the full-width symbols 、 and the 0.3em width space create a part of the space that can lead to too wide a space between the heading's numbering and its content.
although h(0.3em) can be shown as none by the show rule, i think it is possible to add kerning to the numbering, considering that users who have not read the source code may not know the amount of 0.3em.
Reproduction URL
https://typst.app/project/rtKJvE6vqm8aq5bDuQi9Jh
Operating system
macOS
Typst version
- I am using the latest version of Typst
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingcjkChinese, Japanese, Korean typography.Chinese, Japanese, Korean typography.textRelated to the text category, which is all about text handling, shaping, etc.Related to the text category, which is all about text handling, shaping, etc.