Rewrite Rulesbase/stackbin-expand

base/stackbin-expand

Expand stackbin to an explicit binary-level stacked operator form.

Rewrite patterns#

  1. \stackbin{#1}{#2}\mathbin{\mathop{#2}\limits^{#1}}

Examples#

Each example shows this rule applied in isolation. A complete normalization profile may make additional changes.

stackbin binary context#

Before

A\stackbin{\circ}{\otimes}B

After this rule

A\mathbin{\mathop{\otimes}\limits^{\circ}}B

Rendering verified with the declared packages.

Downstream rules#

  • base/limits-drop Drop explicit limits from an audited operator while preserving attached scripts.

Same family#

Disable this rule#

TransformEngine(profile="corpus", disable_rules=["base/stackbin-expand"])
new TransformEngine({ profile: 'corpus', disableRules: ['base/stackbin-expand'] })

Open in Playground