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.
  • Kalcifer@sh.itjust.worksOP
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    18 hours ago

    […] \frac{n(n+1)}{2} in latex turns into (n(n + 1)) / 2 in typst […]

    Note that one can also write that as frac(n(n+1), 2) [1][4].

    References
    1. 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.
    2. Type: Anecdote. Published: 2026-03-19T07:51Z.
      • echo "#set page(width: auto, height: auto, margin: 0pt); $ (n(n + 1)) / 2 $" | typst compile - o.png
        
    3. Type: Anecdote. Published: 2026-03-19T07:51Z.
      • echo "#set page(width: auto, height: auto, margin: 0pt); $ frac(n(n+1), 2) $" | typst compile - o.png
        
    4. Type: Meta. Published: 2026-03-19T07:53Z.
      • Both (n(n + 1)) / 2, and frac(n(n+1), 2) result in in Typst [2][3]