Tabulations and their stops

The same tabulated rows under each of the three methods, then a contents block whose dots run out to a stop on the right. A tabulation can step on from wherever the text stopped, land on the regular grid of a typewriter, or aim at a stop of its own, on which the text that follows starts, centres, or lines up by its decimal point.

Three ways of answering a tabulation, shown on the same rows so the difference is visible rather than described. The first steps on from wherever the text stopped, so its columns never line up. The second, the typewriter's, steps to the next multiple of a fixed size, so they do.

The third is a ruler: each tabulation aims at a stop of its own, and the text that follows starts on that stop, is centred over it, or is lined up on its decimal point — which is how a column of figures aligns on the point rather than on the last digit. A grey line is drawn at every stop, so the text can be seen landing on it.

What this example shows

  • Stepped, typewriter-grid and chosen tab stops, side by side.
  • Text set on a stop, centred over it, or lined up on the decimal point.
  • A row of dots running out to a stop on the right, as in a contents page.

The code, in full

The same document is written twice, once in each language. Both files are shown in full, with the code coloured on the server, and can be copied in one click.

The document itself

The same document is written in each of these languages. Open the one you want to look at.

Open the document in English Open the document in French

Read the Rust source Read the Python source

First page of Tabulations and their stops

What this document weighs

Before 112,426 bytes
Now 42,022 bytes
Saved 62.6 %

Not one mark on the page changed. See every document measured.

Examples near this one

Soft hyphens and no-break spaces

A justified column set twice: the long words breaking at their soft hyphens with a hyphen shown, or left whole, and a figure a no-break space keeps together.

Break points after a slash or a hyphen

A justified column set twice: file paths and compounds running past the edge with no break points, then wrapping where a break after a slash or a hyphen is allowed.

Text poured into columns

One long passage poured into three columns, each fitting the lines its height allows and handing the rest to the next.

Every example, by subject