-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
CJK brackets at the beginning of paragraph #4011
Copy link
Copy link
Open
Labels
cjkChinese, Japanese, Korean typography.Chinese, Japanese, Korean typography.feature requestNew feature or requestNew feature or requesttextRelated 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
When paragraph indentation is enabled, positioning of brackets at the beginning of paragraph doesn't follow §3.1.5 of Requirements for Japanese Text Layout.
Example code is below.
// This program is public domain (CC0).
#set page(
width: 210mm,
margin: (left: 30mm, right: 210mm-30mm-10em),
)
#set par(
leading: 1em
)
#show par: set block(
spacing: 2.5em
)
「日日日日日日日日日「日
#set par(first-line-indent: 1em)
「日日日日日日日日「日
#h(-0.5em)「日日日日日日日日「日The first paragraph is an example of paragraph indentation is not enabled, and the second one is an example of paragraph indentation is enabled.
The third paragraph is an example of the expected result that follows §3.1.5 of Requirements for Japanese Text Layout.
Thanks.
Reproduction URL
No response
Operating system
macOS
Typst version
- I am using the latest version of Typst
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
cjkChinese, Japanese, Korean typography.Chinese, Japanese, Korean typography.feature requestNew feature or requestNew feature or requesttextRelated 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.
