Number & Unit Spacing
A number and its measurement unit normally form one semantic pair and should use the locale’s expected spacing without breaking across lines.
UNIT_SPACEDefinition
Spacing distinguishes a value from a glued identifier and prevents the unit from being stranded. Symbols such as degrees, percent, primes, and currencies follow conventions that can differ by locale and discipline.
BAD vs GOOD
The sample weighs 12 kg, with kg free to wrap.
The sample weighs 12 kg.
Why it matters
A broken number–unit pair is harder to scan and can create ambiguity in technical and tabular material.
Rule strength
Strong semantic convention with locale exceptions. This is not an absolute linguistic law; locale, genre, content, and house style can change the correct decision.
Exceptions and editorial considerations
- Angular degrees, primes, mathematical notation, identifiers, and specialist standards can use different spacing.
- Single-letter units require stronger context guards.
How to fix it manually
- Confirm the discipline and locale.
- Insert the correct NBSP or NNBSP between value and unit.
- Keep unit typography consistent across prose, tables, and captions.
Adobe InDesign guidance
Use a non-breaking space character or a narrowly scoped GREP style; do not use No Break across an unnecessarily large range.
How Avellio detects it
Avellio emits UNIT_SPACE for recognized measurement and production units, with additional guards for single-letter tokens.
An exact recognized pair that passes context guards can enter Safe Clean.
Language and locale differences
EN USEN UKEN AUEN NZA space is normal for many spelled or SI-like units; English-family Avellio profiles normally do not require a space before %.
FRDECZPLPTBRContinental profiles commonly expect protected spacing before units and percent, subject to the publication standard.
Authoritative references
- BIPM — SI Brochure, writing quantity values and unit symbolsInternational measurement standard
- Avellio User Manual — Locale profile referenceAvellio product source
- Avellio User Manual — The Action LayerAvellio product source
- Unicode Standard Annex #14 — Unicode Line Breaking AlgorithmUnicode standard
Avellio references document product behavior. External standards and authorities support the general or locale-specific typographic guidance. Where traditions disagree, this page states the disagreement instead of manufacturing one universal rule.