Rewrite Rulesbase/semantic-dots-to-cdots

base/semantic-dots-to-cdots

Normalize semantic centered-dot ellipsis aliases to cdots for corpus form.

Rewrite patterns#

  1. dotsb\dotsb\cdots
  2. dotsm\dotsm\cdots
  3. dotsi\dotsi\cdots

Examples#

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

dotsb character alias#

Before

A \dotsb B

After this rule

A \cdots B

Rendering verified with the declared packages.

dotsm character alias#

Before

A \dotsm B

After this rule

A \cdots B

Rendering verified with the declared packages.

dotsi character alias#

Before

A \dotsi B

After this rule

A \cdots B

Rendering verified with the declared packages.

Same family#

Notes#

dotsb, dotsm, and dotsi encode amsmath context hints; this is corpus-only character normalization.

Disable this rule#

TransformEngine(profile="corpus", disable_rules=["base/semantic-dots-to-cdots"])
new TransformEngine({ profile: 'corpus', disableRules: ['base/semantic-dots-to-cdots'] })

Open in Playground