This website is being built. Services described here are not yet available to order; the free tools work now. See what is ready.
SelfPublishingTool

Book formatting and typography

The Anatomy of a "River" of White Space (And How to Dam It)

In her handbook Typography Essentials, the designer Ina Saltz describes the problem in one sentence: “Gaps that mosey through a paragraph of justified type link visually to form ‘rivers’ of unsightly space.”1 Rivers in typography are not a defect of any single line. Each line in a rivered paragraph may be perfectly legal by the settings of the layout program, with every word space inside its permitted range. The river appears only when wide spaces on consecutive lines happen to fall close to one another, so that the eye reads a vertical or diagonal channel of white cutting down through the gray texture of the text block.

That distinction matters for an independent author reviewing a proof. A river is a pattern across lines, so it cannot be fixed by inspecting lines one at a time, and it is often invisible at the zoom levels people use on screen. This article explains how rivers form, which choices of measure, typeface, and spacing make them more likely, why some composition methods produce fewer of them than others, and what a typesetter can do at the proof stage to break one up without damaging the paragraphs around it.

Rivers are a side effect of justification

Justified text has a clean edge on both the left and the right. Matthew Butterick’s Practical Typography states the mechanism plainly: “Justification works by adding white space between the words in each line so all the lines are the same length.”2 Left-aligned (ragged-right) text uses a fixed word space and lets the line end wherever the last whole word falls, so its spaces stay uniform and the variation goes into the right margin instead. In justified text the variation has nowhere to go except into the gaps between words.

Most of the time that variation is small enough to pass unnoticed. Butterick notes that justification “alters the ideal spacing of the font, but in paragraphs of reasonable width it’s usually not distracting.”3 The trouble begins when a line has to absorb a large amount of leftover space and has only a few word gaps to spread it across. The MyFonts manual on justified and ragged-right setting identifies this as the central risk: “The major problem with setting justified copy is the risk of creating excessive inter-word spacing.”4 The same manual notes that loose spacing can create rivers of white running through the copy.5

A river is therefore a downstream effect of loose lines. CreativePro’s type how-to column on the subject puts it directly: “Rivers are most often born of overly wide word spaces.”6 Where the spaces stay close to the typeface’s designed width, the chance that several of them line up into a visible channel is low. Where many lines are loose, the odds rise sharply, because there is more white in each gap and more gaps of that kind available to align.

Narrow measures and long words supply the raw material

Saltz names the most frequent cause: “The most common cause of rivers is a narrow column width combined with longish words.”7 Her reasoning follows from the arithmetic of justification. A line of 65 characters may contain eleven or twelve word spaces; a line of 35 characters may contain five or six. When the composer must distribute the same leftover space, it will add roughly twice as much to each gap on the shorter line. If the word that would not fit at the end of the line is long, the leftover space is larger still.

The MyFonts manual gives working thresholds for when justification becomes risky. It advises that “if you are using 12-point type, the minimum line length you should try to justify is 24 picas,” and that a designer “shouldn’t try to justify when less than nine words fit in the column width.”8 These are rules of thumb from a type vendor rather than measured limits, but they point in the same direction as Saltz’s observation: the fewer word gaps a line contains, the larger each gap must grow.

For a self-published trade paperback the measure is fixed early, by the trim size and the margins. A 5 x 8 inch novel with generous margins can leave a measure short enough that justified 11- or 12-point text becomes vulnerable, particularly in books with long technical or compound words. That is a reason to settle the measure with the type size in hand rather than choosing margins first and fitting type into whatever remains.

Some typefaces and settings make rivers easier to see

Rivers are a matter of perception as well as geometry. The CreativePro column observes that sans serif faces, especially condensed ones, make rivers more conspicuous, while serifs “soften this transition” between letters and spaces.9 The same column notes that text set in all capitals makes rivers more visible, and that characters carrying a lot of internal white, such as stacked dashes or ellipsis points, can produce channels of their own.10

The width of the typeface’s own word space also matters. The MyFonts manual on word spacing states that “Word spacing is the single most important factor contributing to typographic readability,” and that “A condensed type design requires less space between words than an expanded face.”11 A condensed face whose letters are narrow will show a stretched word space more starkly than a wide face, because the gap is large relative to the letters on either side of it. The same manual adds that “Larger point settings require slightly less word space than smaller sizes.”12 In practice this means that a word spacing setting that looks acceptable at 10 points may look loose at 14 points, which is one reason large-print and children’s book layouts need their spacing reviewed separately.

The layout program’s word spacing range sets the ceiling

Every professional layout program lets the typesetter set limits on how far word spaces may stretch or compress. Ilene Strizver’s Fontology lesson on hyphenation and justification describes these as “minimum, desired, and maximum values for: spacing between letters; spacing between words.”13 The composer tries to stay at the desired value and is allowed to move between the minimum and maximum when a line requires it. When no arrangement of the words fits within those limits, the program sets the line anyway and, in most programs, can flag it as a spacing violation for the typesetter to review.

Two consequences follow. First, a generous maximum word space hides problems rather than solving them: the program reports fewer violations, but the lines it accepts can be loose enough to feed rivers. Second, the letterspacing and word spacing controls interact. If a typesetter allows a small amount of variation in letterspacing, some of the leftover space on a loose line can go into the letters rather than entirely into the word gaps. The CreativePro column lists justified text that does not allow character spacing to adjust as one of the conditions that makes wide word spaces more likely.14 Letterspacing should move only a little, because visible tracking changes from line to line are a defect of their own.

Some systems go further. The LaTeX microtype package, built on micro-typographic extensions that Hàn Thế Thành introduced in pdfTeX, can apply what the documentation calls font expansion. As of its version dated 1 March 2026, the package manual quotes Thành’s explanation that expansion is intended to “make interword spacing more even,” by using slightly wider or narrower versions of the glyphs on loose or tight lines.15 The manual states that the default stretch limit is 20 thousandths, which allows up to 2 percent expansion, and that the shrink limit defaults to the same value.16 InDesign offers a comparable glyph scaling control in its justification settings. Both tools trade a small, usually invisible distortion of the letterforms for more even spaces.

Hyphenation gives the composer more places to break

Hyphenation is the most powerful defense against loose lines in justified text. Butterick’s position is categorical: “In justified text, hyphenation is mandatory.”17 Elsewhere he adds that a designer using justified text “must also turn on hyphenation to prevent gruesomely large spaces between words.”18 Each hyphenation point offers the composer another place to end the line, so instead of choosing between a line that is far too tight and one that is far too loose, it can often find a break that leaves the spaces close to the desired width. Butterick also observes that “As line length gets shorter, hyphenation becomes essential,” which connects back to Saltz’s point about narrow columns.19

Hyphenation has its own limits. Strizver notes that hyphenation settings usually include a minimum number of characters “before and after a hyphen,” a maximum number of “consecutive lines ending with a hyphen,” and a “minimum word length that can be hyphenated.”20 She recommends that “A preferable treatment minimizes the number of consecutive hyphenated lines.”21 A stack of three or four hyphens at the right edge creates a ladder of its own. The CreativePro column treats prohibited or heavily restricted hyphenation as another condition that encourages wide spaces.22 Settings that forbid nearly all hyphens in pursuit of a clean right edge therefore tend to push the problem into the text block, where it shows up as rivers.

Paragraph-wide composition reduces loose lines

The method a program uses to choose line breaks has a large effect on how many loose lines it produces. The older approach, sometimes called first-fit, fills each line in turn and moves on, without revisiting earlier lines. In their 1981 paper “Breaking Paragraphs into Lines,” published in Software: Practice and Experience, Donald E. Knuth and Michael F. Plass described an alternative used in TeX: “Instead of simply making decisions one line at a time, the method considers the paragraph as a whole.”23 The algorithm evaluates many possible sets of break points and chooses the set that minimizes a combined measure of how far the spaces deviate from their ideal width, with penalties for features such as consecutive hyphens.24

Knuth and Plass also built in a check against abrupt changes between lines, writing that “we can also try to avoid rapid changes in the spacing of adjacent lines.”25 That provision bears directly on rivers. A paragraph in which a very loose line sits beneath a very tight one shows the contrast more sharply than a paragraph whose spacing varies gradually, and a set of breaks that keeps every line near the ideal spacing leaves fewer large gaps available to line up.

Commercial layout programs adopted similar paragraph-wide composers. InDesign’s Adobe Paragraph Composer considers the whole paragraph, while its Single-line Composer works one line at a time; the multi-line approach is the default in current versions. The Knuth and Plass paper does not discuss rivers by name, and none of these algorithms explicitly searches for vertical alignments of white. They reduce rivers indirectly by reducing the number of loose lines from which rivers are made.

Rivers are easier to find on paper than on screen

Because a river is a pattern seen at reading distance, the usual on-screen proofing habits can miss it. The CreativePro column notes that rivers are hard to see on screen but easy to spot in printed proofs, which is why they belong on a proofreader’s checklist.26 It recommends squinting to blur the text or stepping back for a wider view, both of which suppress the letterforms and leave the distribution of white more visible.27 It also notes that zooming in usually does not help, since the enlarged view makes the overall pattern harder to see.28

For an independent author, the practical form of this advice is to print the interior at actual size, or order a printed proof from the print-on-demand service, and review pages at arm’s length before reading them closely. Rivers tend to cluster where the measure is short (in pull quotes, sidebars, captions, and narrow columns) and in paragraphs where a run of long words falls together. Pages of dialogue often escape the problem because many lines end early and are not stretched at all.

Breaking a river means changing the line breaks above or below it

Once a river is found, the cure is to change where lines break so that the wide gaps no longer align. The CreativePro column suggests three moves, in order: tighten tracking slightly on the affected lines, since wide word spaces are the usual cause; offer the composer an alternative break by inserting a discretionary hyphen; and re-rag the passage by altering line endings.29 It cautions against typing a hard hyphen to force a break, because a hard hyphen stays in the text if the paragraph reflows later and can end up in the middle of a line.30 A discretionary (soft) hyphen appears only if the word actually breaks at that point.

Each of these fixes works on one or two lines, but its effect travels. Changing a single break near the top of a paragraph can shift every subsequent line, which is often enough to dissolve a river entirely. The same change can also create a new widow, alter the page break, or push a hyphen into an unwelcome place, so every local fix needs a second look at the surrounding page. Tracking adjustments should stay small and consistent; a line set visibly tighter than its neighbors replaces one texture problem with another.

When local fixes keep failing in a given layout, the cause is usually upstream. A short measure, a condensed face, a large type size, or a narrow maximum word space combined with restricted hyphenation will produce loose lines faster than they can be repaired by hand. In those cases the lasting solution is to change the specification: widen the measure, choose a face with a more forgiving texture, permit hyphenation on more words, allow a small amount of letterspacing or glyph scaling, or move the short-measure elements to ragged-right alignment. Butterick notes that hyphenation is optional in left-aligned text because “the rag will still be somewhat irregular, even with hyphenation,” which also means that ragged-right setting does not generate rivers in the same way.31

Software can locate rivers, but judgment still decides

The CreativePro column ends by suggesting that layout software could detect rivers automatically and flag the ones it cannot avoid.32 Some tools and research projects have pursued that idea, but mainstream layout programs flag spacing violations line by line rather than identifying the visual alignments that make a river. The detection a typesetter receives from the software therefore remains indirect: it marks the loose lines, and a person decides whether those lines combine into something a reader will notice.

That leaves a limitation that no setting fully removes. Rivers depend on the specific words in the specific order the author wrote them, so a text that sets cleanly in one trim size may river in another, and a late edit to a single sentence can create a channel that was not there in the previous proof. The most reliable protection is a specification that keeps loose lines rare, together with a printed proof read at arm’s length after the final text changes, not before them.

Platform rules, fees and laws change. Facts in this guide are dated to when they were checked; confirm current terms with the platform or authority before relying on them. Nothing here is legal, tax or financial advice.

More guides Free publishing tools