Rewrite Rulesphysics/rank-to-operatorname-rank

physics/rank-to-operatorname-rank

Rewrite rank to an explicit operatorname form instead of a package-local alias.

Rewrite patterns#

  1. \rank\operatorname{rank}

Examples#

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

rank bare operator#

Before

\rank A\le n

After this rule

\operatorname{rank} A\le n

Rendering verified with the declared packages.

Downstream rules#

Same family#

Disable this rule#

TransformEngine(profile="corpus", disable_rules=["physics/rank-to-operatorname-rank"])
new TransformEngine({ profile: 'corpus', disableRules: ['physics/rank-to-operatorname-rank'] })

Open in Playground