Re:Typst: An easy to learn alternative for LaTex
by anserin on Saturday July 20, 2024 @03:55PM
(#41019246)
The main problem I have with Typst compared with LaTeX is that it doesn't handle basic fine typographic features, such as the different types of spacing in mathematical mode (mathop, mathbin, mathrel, etc.) or the size of delimiters (big, bigg, etc.)
[ Parent
| on HN ]
Re:Typst: An easy to learn alternative for LaTex
by StableAlkyne on Saturday July 20, 2024 @04:08PM
(#41019365)
It also seems to have problems with accessibility, based on this thread - https://github.com/typst/typst/issues/133
But then again, apparently so does LaTeX
Re:Typst: An easy to learn alternative for LaTex
by xkevio on Saturday July 20, 2024 @06:45PM
(#41020718)
Am I misunderstanding what exactly you are looking for? You can change the spacing in math mode of symbols/operators with https://typst.app/docs/reference/math/class/ and delimiter size with https://typst.app/docs/reference/math/lr#functions-lr (or automatically).
Re:Typst: An easy to learn alternative for LaTex
by anserin on Sunday July 21, 2024 @09:04AM
(#41024790)
I didn't know about math classes, thank you for the reference
The issue I have with delimiters is that there is no option for "big", but only for "140%" or whatever, making it harder to be consistent Someone created an issue on this on GitHub if I remember correctly
And automatically chosen sizes are often too large
Re:Typst: An easy to learn alternative for LaTex
by laurmaedje on Sunday July 21, 2024 @11:06AM
(#41025623)
Good point! lr should support lengths in addition to ratios. Should be easy to add.
Re:Typst: An easy to learn alternative for LaTex
by xkevio on Sunday July 21, 2024 @11:51AM
(#41025939)
Ah, yeah fair enough! I was confused thinking that you were unaware of the existence of the functionality as a whole. Well, as laurmaedje (one of the main devs) said below, it should be easy to add, though it seems difficult to find which size values `big`, `bigg` and so on exactly represent.