Skip to content

Add corner delimiters#100

Merged
Enivex merged 2 commits into
typst:mainfrom
Enivex:Corner-delimiters
Jul 10, 2025
Merged

Add corner delimiters#100
Enivex merged 2 commits into
typst:mainfrom
Enivex:Corner-delimiters

Conversation

@Enivex

@Enivex Enivex commented Jul 3, 2025

Copy link
Copy Markdown
Collaborator

In the previous large PR there was a suggestion to use lt, lb, rt and rb instead. However, I think it's important to signal which ones are opening (.l) and closing (.r) delimiters.

@MDLC01

MDLC01 commented Jul 4, 2025

Copy link
Copy Markdown
Collaborator

Note that there are other similar corners in Unicode: U+2E22 ⸢ TOP LEFT HALF BRACKET, U+2E23, U+2E24, and U+2E35. They are part of Supplemental Punctuation, while the codepoints added in this PR are from Miscellaneous Technical.

@mkorje

mkorje commented Jul 4, 2025

Copy link
Copy Markdown
Collaborator

Maybe they would work well as bracket.l.half.t, etc.

@Enivex

Enivex commented Jul 4, 2025

Copy link
Copy Markdown
Collaborator Author

Note that there are other similar corners in Unicode: U+2E22 ⸢ TOP LEFT HALF BRACKET, U+2E23, U+2E24, and U+2E35. They are part of Supplemental Punctuation, while the codepoints added in this PR are from Miscellaneous Technical.

Note that those are not delimiters, and seemingly not even intended for math. Not that this can't mean we can't add them in the future.

@MDLC01

MDLC01 commented Jul 4, 2025

Copy link
Copy Markdown
Collaborator

Do you have sources for the symbols added in this PR being used in math?

@Enivex

Enivex commented Jul 4, 2025

Copy link
Copy Markdown
Collaborator Author

Do you have sources for the symbols added in this PR being used in math?

They have opening and closing math class, respectively, are supported in major math fonts, and are named on page 4-5 of http://mirrors.ctan.org/macros/unicodetex/latex/unicode-math/unimath-symbols.pdf

@Enivex Enivex merged commit 2f89766 into typst:main Jul 10, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants