Rewrite Rulesams/nobreakspace-to-tilde

ams/nobreakspace-to-tilde

Collapse nobreakspace to the canonical nonbreaking space token.

Rewrite patterns#

  1. \nobreakspace~

Examples#

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

nobreakspace between symbols#

Before

A\nobreakspace B

After this rule

A~B

Rendering verified with the declared packages.

Same family#

Notes#

The command is defined only by ams and follows MathJax's Tilde method. Produces is empty because ~ is a special token rather than a knowledge command, environment, or character target.

Disable this rule#

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

Open in Playground