(Opinions needed) Likely upcoming changes to math mode precedence

op is a Typst function that you can use to make operators like sin:

#let mysin = math.op("sin")
$ mysin(x) $

image

Here mysin(x) is not a function call, it’s the value mysin followed by (x). But the value mysin was obtained by calling op. You could also write

$ op("sin")(x) $

and get the same result.

4 Likes