Rewrite Rulesams/centerdot-to-cdot

ams/centerdot-to-cdot

Normalize AMS centerdot to the base cdot character for corpus form.

Rewrite patterns#

  1. \centerdot\cdot

Examples#

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

centerdot character alias#

Before

A \centerdot B

After this rule

A \cdot B

Rendering verified with the declared packages.

centerdot script position#

Before

x_{\centerdot}

After this rule

x_{\cdot}

Rendering verified with the declared packages.

Same family#

Notes#

centerdot has variantForm while cdot does not. Current MathJax CHTML pixel checks pass for naked, not, script, fraction, root, and fence contexts, so this rewrite preserves visible rendering; DOM/MathML/rendering attrs are not identical. The rule excludes cdotp because cdotp carries texClass=PUNCT and changes spacing.

Disable this rule#

TransformEngine(profile="corpus", disable_rules=["ams/centerdot-to-cdot"])
new TransformEngine({ profile: 'corpus', disableRules: ['ams/centerdot-to-cdot'] })

Open in Playground