New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add missing over/under-delimiters #3856
Comments
I actually did write such a commit before #3564, but did not upstream it because I did not find them to be often used in LaTeX. My search was very quick and very rudimentary though. |
Even things not used that often will be used by someone, and that someone will ask for them. May as well get it done before it comes to that, especially when it's something relatively simple like this. That's my stance at least. |
…se I think it is a bit clearer, the word reads nicer (“overshell” vs “overturtle”), and there is no associated discussion (they are called “tortoise shells” in Unicode): > tortoises and turtles are not the same thing! ~ @Enivex There will be a sibling PR to rename the symbols too. Additionally, I refactored some code to make it more readable. I also fixed a bug introduced in typst#3262 where the wrong script style was being used. Closes typst#3856.
I decided to use the word `shell` instead of turtle or tortoise because I think it is a bit clearer, the word reads nicer (“overshell” vs “overturtle”), and there is no associated discussion (they are called “tortoise shells” in Unicode): > tortoises and turtles are not the same thing! ~ @Enivex There will be a sibling PR to rename the symbols too. Additionally, I refactored some code to make it more readable. I also fixed a bug introduced in typst#3262 where the wrong script style was being used. Closes typst#3856.
While looking at #3564 I realized that there are some obvious missing functions from https://typst.app/docs/reference/math/underover
In particular
underparen
(U+023DD) andoverparen
(U+023DC)For completeness there's also the tortoise shell brackets U+023E0 (top) and U+023E1 (bottom). Apparently they're called
obrbrak
andubrbrak
in LaTeX. If we add them I propose we use different names.undershell
andovershell
perhaps?The text was updated successfully, but these errors were encountered: