8000 Any LaTeX 3 implementation for `\mathchoice`? · Issue #1763 · latex3/latex3 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Any LaTeX 3 implementation for \mathchoice? #1763
Closed
@InnocentFIVE

Description

@InnocentFIVE

The macro \mathchoice is known to be quite slow because it must typeset all four possible cases (as mentioned in The TeXbook—though I am unsure how it is implemented in modern versions). Additionally, the following code does not work as intended:

\def\foo{}
\[
    \mathchoice{\def\foo{D}}{\def\foo{T}}
    {\def\foo{S}}{\def\foo{SS}}
\]
\foo    % It may return `D'

Therefore, I would like to inquire whether the LaTeX 3 Project has any plans to re-implement this macro \mathchoice to improve its efficiency or behavior.

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

      0