Skip to content

\operatorname seems to be broken #106

@Sub6Resources

Description

@Sub6Resources

The following example results in a Parser Error when using this library (but no issues when using vanilla KaTeX):

\operatorname{Function}\left(x\right)

Specifically, I get the error

Parser Error: Got function '\left' with no arguments  as \operatorname

Looking at the source code, this error seems to have something to do with the greediness of \operatorname, but I'm not familiar enough with the parser to know what exactly I'm looking at.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions