Rules
The ten typography rules, in the order they run, with what each changes per locale.
- spaces The spaces rule collapses runs of ordinary spaces, removes spaces before punctuation and inside brackets, and leaves indentation, hard breaks and emoticons alone.
- ellipsis The ellipsis rule turns runs of three or more dots into the single character U+2026 and writes the two-dot form after ? and ! in locales that use it.
- ranges The ranges rule turns a hyphen between two numbers into the locale's range dash, with the guards that protect dates, phone numbers and decimals.
- Dashes Em dash spaces depend on the locale. The dashes rule sets the parenthetical dash, em or en, with or without spaces, as each locale prescribes, and leaves hyphens, numbers and ranges alone.
- Hyphen The hyphen rule binds the hyphen in listed Russian and Ukrainian forms with a non-breaking hyphen so a line break cannot split the word.
- Quotes How the quotes rule turns straight and foreign quotation marks into each locale's primary and secondary pairs, resolves nesting, and leaves unmatched marks alone.
- quote-punctuation The opt-in quote-punctuation rule moves a comma or full stop from after a closing quotation mark to before it, for the locale whose convention puts it there, and declines wherever the placement depends on meaning.
- Apostrophe The apostrophe rule turns the straight apostrophe into U+2019 in contractions, elisions, possessives and decade abbreviations, and leaves foot marks and primes alone.
- symbols The symbols rule converts (c), (r) and (tm) to the copyright, registered and trademark signs, between-number x to the multiplication sign, and +/- before a digit to a plus-minus sign.
- No-break spaces How to write a non-breaking space in HTML ( ,  , U+00A0), when to use the narrow U+202F, and how polytypo inserts them per locale automatically.