Skip to content

MathJax Macros with arguments #2741

@haakon-e

Description

@haakon-e

I'm trying to follow the docs to create my own macros, but am struggling with certain ones. For example, how would I create either of these macros in a way that works?

mathengine = Documenter.MathJax3(Dict(:TeX => Dict(
    :equationNumbers => Dict(:autoNumber => "AMS"),
    :Macros => Dict(
        :t => ["\\text#1", 1],
        :dx => ["\\frac{d#2}{d#1}", 2, "x"],
    ),
)))

(the latter is from mathjax docs).

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