Rewrite Rulesbase/rightarrow-to-to

base/rightarrow-to-to

Normalize rightarrow to the shorter to arrow character for corpus form.

Rewrite patterns#

  1. \rightarrow\to

Examples#

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

rightarrow character alias#

Before

A \rightarrow B

After this rule

A \to B

Rendering verified with the declared packages.

Same family#

Disable this rule#

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

Open in Playground