op
ElementElement functions can be customized with set
and show
rules.
Element functions can be customized with
set
and show
rules.A text operator in an equation.
Example
$ tan x = (sin x)/(cos x) $
$ op("custom",
limits: #true)_(n->oo) n $

Predefined Operators
Typst predefines the operators arccos
, arcsin
, arctan
, arg
,
cos
, cosh
, cot
, ctg
, coth
, csc
, deg
, det
, dim
,
exp
, gcd
, hom
, mod
, inf
, ker
, lg
, lim
, ln
, log
,
max
, min
, Pr
, sec
, sin
, sinc
, sinh
, sup
, tan
, tg
,
tanh
, liminf
, and limsup
.
ParametersParameters are the inputs to a function. They are specified in parentheses after the function name.
Parameters are the inputs to a function. They are specified in parentheses after the function name.
text
The operator's text.
limits
SettableSettable parameters can be customized for all following uses of the function with a set
rule.
Settable parameters can be customized for all following uses of the function with a
set
rule.Whether the operator should force attachments to display as limits.
Default: false