Rewrite Rulesbase/widetilde-to-tilde

base/widetilde-to-tilde

Drop stretchiness from \widetilde by rewriting it to \tilde.

Rewrite patterns#

  1. \widetilde{#1}\tilde{#1}

Examples#

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

Wide accent size drop#

Before

\widetilde{AB}

After this rule

\tilde{AB}

The rendered result has pixel differences from the input.

Same family#

Notes#

The wide and short forms retain the same accent identity and mathematical attachment to the same body. For an arbitrary multi-symbol body, however, the wide extent is a visible scope cue; replacing it with a short accent can weaken readability and make the intended span less apparent. The rule therefore first enters Equiv and claims only Math fidelity.

Disable this rule#

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

Open in Playground