Numbering and Alignment: Width Follows the Longest Line

Open Tool Number Padding and Numbering

Four actions for four layout needs

Text lists hit four common needs: ragged numbering where single digits sit beside three-digit ones, hand-written lists without numbers at all, imported lists with inconsistent markers to strip before renumbering, and monospace blocks where lines of unequal length want right alignment. The tool offers zero padding, adding numbers, removing numbers and right alignment over a whole block. Padding width follows the highest number present, and that decision settles whether alignment actually holds.

Steps

  1. Paste the list, one item per line, keeping a backup.
  2. Choose padding, numbering, removal or right alignment.
  3. Set the starting number and the separator after it, a period or a bracket.
  4. Run it and check that numbers stay sequential and widths uniform.
  5. Copy it back and preview alignment in a monospace font.
  6. Reset for the next block.

Width, separators, fonts

Padding width comes from the largest number in the block: nine items need one digit, a hundred and twenty need three, and a fixed two fails past ninety-nine. Separators should match house style, with periods and spaces in English and brackets or ideographic commas in Chinese. Removal must spare lines whose leading digits are content, such as phone numbers or specifications, where deleting breaks data. Right alignment assumes a monospace font, since proportional faces render every character differently and space padding still looks crooked. Whether blank lines are skipped depends on the list's structure.

Common mistakes

Fixed two-digit padding breaks alignment past a hundred. Removal deletes leading digits that were data. Separators drift between periods and brackets. Right alignment on a proportional font still looks ragged. A starting number colliding with existing numbers creates two number ones. And skipped blank lines erase paragraph breaks.

Where numbering should stay hands off

Long documents with cross-references need editor-generated numbering, since manual numbers mean updating the whole file per change. Legal clauses and contract items must not be renumbered, which alters interpretation. Right alignment only works in monospace contexts, and web or rich text should use layout properties instead. Lists containing code or data should not gain numbers, which block direct copy. And renumbering as decoration creates maintenance debt.

⏫︎