Skip to content

Add support for unsupported commands #45

@stromdotcom

Description

@stromdotcom

I am having an issue where latex rendering fails if the latex contains \pmod{n} or \mod{n} (or any other unsupported command). I can stop the failure by adding the following:

MTMathAtomFactory.add(latexSymbol: "pmod", value: MTMathAtomFactory.operatorWithName("pmod", limits: false))

however this doesn't really do anything except replace \pmod with pmod. It should render something like (mod n).

These two commands are apparently part of the amsmath package. Is it possible to add support for additional packages?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions