TypstDocumentation

opElement
Question mark

A text operator in an equation.

Example

$ tan x = (sin x)/(cos x) $
$ op("custom",
     limits: #true)_(n->oo) n $
Preview

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.

Parameters
Question mark

text
string
RequiredPositional
Question mark

The operator's text.

limits
boolean
Settable
Question mark

Whether the operator should force attachments to display as limits.

Default: false