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

  1. 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.
    1. Type: File. Title: "README.md".
      • Type: Text. Location: ¶1.
you are viewing a single comment's thread
view the rest of the comments
[–] [S] 1 point 7 months ago

[…] For example, \frac{n(n+1)}{2} in latex turns into (n(n + 1)) / 2 in typst. The typst code is incredibly unclear - the first set of brackets with the slash together actually form the fraction operator, so neither end up visible. […]

IMO, it's only unclear if one isn't familiar with the syntax — I think the documentation states the behaviour clearly:

[…] Multiple atoms can be grouped into a single expression using round grouping parentheses. Such parentheses are removed from the output, but you can nest multiple to force them. ^[1]^

This isn't in defense of Typist's syntax, but I challenge you to show the uninitiated your example LaTeX expression, \frac{n(n+1)}{2}, and see if they are able to accurately parse it.

References

  1. Type: Text. Publisher: [Type: Webpage. Title: "frac". Publisher: "Typst". Location: "Documentation">"Reference">"Math">"Fraction". Location (URI): https://typst.app/docs/reference/math/frac/.]. Accessed: 2026-03-18T05:34Z. Location: §"Syntax".
  • source
  • parent