sesaparcours
    Preparing search index...

    Type Alias BaseEntry

    Maps a string of LaTeX tokens to a function or symbol and vice-versa.

    type BaseEntry = {
        name?: string;
        serialize?: LatexString | SerializeHandler;
    }
    Index

    Properties

    Properties

    name?: string

    Map a MathJSON function or symbol name to this entry.

    Each entry should have at least a name or a parse handler.

    An entry with no name cannot be serialized: the name is used to map a MathJSON function or symbol name to the appropriate entry for serializing. However, an entry with no name can be used to define a synonym (for example for the symbol \varnothing which is a synonym for \emptyset).

    If no parse handler is provided, only the trigger is used to select this entry. Otherwise, if the trigger of the entry matches the current token, the parse handler is invoked.

    Transform an expression into a LaTeX string. If no serialize handler is provided, the trigger property is used