Trigger: {
    identifierTrigger?: string;
    latexTrigger?: LatexString | LatexToken[];
}

The trigger is the set of tokens that will make this record eligible to parse the stream and generate an expression. If the trigger matches, the parse handler is called, if available.

The trigger can be specified either as a LaTeX string (latexTrigger) or as an identifier (identifierTrigger), which can be wrapped in a LaTeX command, for example \operatorname{mod} or \mathbin{gcd}, with "gcd" being the identifierTrigger.

matchfix operators use openTrigger and closeTrigger instead.