View on GitHub
Icon for Monospace

Monospace

Every character gets the same small room, and code is happier for it.


Fixed Width

In a monospaced (fixed-width) typeface every character occupies the same horizontal space: i and m take the same width. This is not a historical style but a technical constraint, born with the typewriter, whose carriage advanced by the same amount for every keystroke. Monospace is outside the Vox-ATypI scheme entirely.

From Typewriter to Terminal

The classic typewriter faces, including Courier1 (IBM, 1955), were slab serifs, since the slabs helped fill out narrow letters in a wide cell. Computer terminals inherited fixed width because a screen of text was a grid of character cells. Programmers kept it because alignment matters in code: columns line up, indentation is exact, and every character, including spaces, is visible as a unit.

The Modern Coding Font

Recent monospaced faces are designed for long hours of reading code: clear distinction between 0 and O, 1, l, and I; generous X-Height; and sometimes programming ligatures. Examples include IBM Plex Mono, SF Mono, Iosevka, Operator Mono,2 and the duospaced iA Writer Duo, which relaxes the constraint just enough to give m and w extra room. This vault's own writing view is set in IBM Plex Mono (see Draft to Document Why I Made My Notes Look Like LaTeX Papers), a choice in the tradition of writing apps that use monospace to keep the writer focused on the words.

  1. Courier was designed by Howard "Bud" Kettler for IBM's typewriters in 1955.↩

  2. Operator Mono is the Monospace companion of Hoefler & Co.'s Operator family, designed by Andy Clymer and released in 2016 (see Jonathan Hoefler).↩

Related Knowledge