Skip to content

\argmax_t not recognized to subscript like operator #2924

@castedo

Description

@castedo

REPRO:

Type

\argmax_t Z_t

into the LaTeX field on https://mathlive.io/mathfield/demo/.

GOT: the t appears by the lower right corner of max:
Image

EXPECTED: the t appears under arg max, like:
Image

COMMENTARY:

The function \argmax is listed on https://mathlive.io/mathfield/reference/commands/ as a supported LaTeX command. In KaTeX (and LaTeX, but not MathJax), this function is converted/recognized as expected (type repro input into https://katex.org/#demo to see).

WORK-AROUND:

Note to visitors: there are many work-arounds including

\arg\max_t Z_t

which puts the t under the max and

\operatorname*{arg~max}_t Z_t

which works as expected.

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