Skip to content
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

Smarter parentheses sizing #360

Open
user202729 opened this issue Mar 27, 2023 · 1 comment
Open

Smarter parentheses sizing #360

user202729 opened this issue Mar 27, 2023 · 1 comment
Labels
feature request New feature or request layout Related to layout, positioning, etc. math Related to math syntax, layout, etc.

Comments

@user202729
Copy link
Contributor

$ ((a b)(c d)) $

$ (1 sqrt(2)) × 4 $

$ (∑_(i=1)^∞ 1/i^2)^2 $

image

It's good typography practice to make the parentheses in first case a bit bigger and parentheses in the second and third case smaller, refer to https://tex.stackexchange.com/questions/173717/is-it-ever-bad-to-use-left-and-right.

@laurmaedje laurmaedje added feature request New feature or request math Related to math syntax, layout, etc. labels Mar 31, 2023
@laurmaedje laurmaedje added the layout Related to layout, positioning, etc. label Nov 5, 2023
@laurmaedje laurmaedje changed the title Smarter parentheses sizing? Smarter parentheses sizing Nov 14, 2023
@gdahia
Copy link

gdahia commented Feb 3, 2024

I was wondering if typst intends to reproduce (some of) the behavior of the nath package in TeX.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request layout Related to layout, positioning, etc. math Related to math syntax, layout, etc.
Projects
None yet
Development

No branches or pull requests

3 participants