op
元素
元素函数可以通过 set 和 show 规则进行样式自定义。
元素函数可以通过 set 和 show 规则进行样式自定义。
用于公式中的文本运算符。
Example
$ tan x = (sin x)/(cos x) $
$ op("custom",
limits: #true)_(n->oo) n $

预定义运算符
Typst 预定义了一些运算符,包括
arccos, arcsin, arctan, arg, cos,
cosh, cot, coth, csc, csch, ctg, deg, det, dim, exp,
gcd, hom, id, im, inf, ker, lg, lim, liminf, limsup,
ln, log, max, min, mod, Pr, sec, sech, sin, sinc,
sinh, sup, tan, tanh, tg and tr.
参数
参数是函数的输入,它们在函数名称后面的括号中传入。
参数是函数的输入,它们在函数名称后面的括号中传入。
text
运算符文本。
limits
是否将附缀显示为上下限形式(即显示在上方或下方)。
默认:false