Rewrite Rulesbase/stackrel-expand

base/stackrel-expand

Expand stackrel to an explicit relation-level stacked operator form.

Rewrite patterns#

  1. \stackrel{#1}{#2}\mathrel{\mathop{#2}\limits^{#1}}

Examples#

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

stackrel relation context#

Before

a\stackrel{?}{\le}b

After this rule

a\mathrel{\mathop{\le}\limits^{?}}b

Rendering verified with the declared packages.

Upstream rules#

Downstream rules#

Same family#

Disable this rule#

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

Open in Playground