Typst is a new markup-based typesetting system that is designed to be as powerful as LaTeX while being much easier to learn and use. [1.1]
References
- Type: Webpage. Title: “typst/typst”. Publisher: “GitHub”. Published (Modified): 2026-03-16T09:39:55.000Z. Accessed: 2025-03-18T08:55Z. URI: https://github.com/typst/typst.
- Type: File. Title: “README.md”.
- Type: Text. Location: ¶1.
- Type: File. Title: “README.md”.



Update (2026-03-20T00:37Z): @Meron35@lemmy.world, it has since been found that Typst is aware of this inconsistency [7].
I think these are valid complaints. For clarity, this is the output that I found for each:
I was surprised by the second; I expected it to produce
[6]. I didn’t know what to expect for the third.
I tried searching through the documentation [4], but I was unable to find any information that exactly defined expressions [5], and how they are grouped within the fraction when juxtaposed like in your examples.
References
echo "#set page(width: auto, height: auto, margin: 0pt); $ 1/2(x + y) $" | typst compile - o.pngecho "#set page(width: auto, height: auto, margin: 0pt); $ 1/x(x + y) $" | typst compile - o.pngecho "#set page(width: auto, height: auto, margin: 0pt); $ 1/2^x(x + y) $" | typst compile - o.pngecho "#set page(width: auto, height: auto, margin: 0pt); $ 1/x (x + y) $" | typst compile - o.png