Documents

Tidy a document layout

Hand editing drifts. Each block is placed relative to the one above it, small errors are inherited, and after twenty edits the top of the document is on a rhythm and the bottom is not.

Create a document with OneCraftWhat Prettify re-applies, and the one gap table that drives it
The Prettify button highlighted in the document builder
Prettify re-applies the spacing rules across the whole document in one action.

One gap table for everything

There is a single set of spacing rules: a wider gap above a heading than between paragraphs, a smaller gap between a block and the block that belongs to it. The canvas, the PDF and the layout engine all read the same table, which is why the document you tidy on screen prints with the same rhythm.

The gap belongs to the block below

The space above a row is that row’s own spacing, not the previous row’s. It sounds like a detail and it is the reason moving a section moves its breathing room with it, instead of leaving a gap where it used to be and arriving somewhere too tight.

Spacing, not structure

Prettify changes vertical spacing. It does not reorder blocks, resize them, rewrite text or change which page anything lands on. That makes it safe to run at any point, including on a document you have spent a long time arranging.

Run it before you export

The habit worth forming is to run it as the last step before the PDF. Drifted spacing is invisible while you are working, because you have been looking at each block as you placed it, and it is obvious in a printed page seen for the first time by somebody else.

Why documents drift in the first place

Because every block is placed relative to what is already on the page. Nudge one paragraph down to make room, and everything after it inherits that nudge. Do it twenty times over an afternoon and the document has three different gap sizes doing the same job. Nobody can point at what is wrong, which is exactly why it goes out of the door unfixed: it looks slightly amateur without looking broken.

How it works, in three steps

  1. Step 1

    Finish the content first

    Prettify fixes spacing, so run it once the blocks are where you want them.

  2. Step 2

    Run it

    The whole document is re-spaced against the same gap rules the PDF uses.

  3. Step 3

    Then export

    It is the cheapest step between a document that reads as typed and one that reads as designed.

The full walkthrough with screenshots is in the guide Lay out a document exactly how you want it.

Limits worth knowing

See it on a finished piece

Questions people ask

Will Prettify move my blocks around?

No. It adjusts the vertical spacing between them. The order, the sizes and the words are untouched.

Does it change my page breaks?

Not directly, though spacing changes can shift where pages fall, because pagination is worked out from the content.

When should I run it?

Last, just before exporting. Drift is invisible while you are working and obvious on a printed page.

Make your own document

The button opens the generator with this use case already described. Change the wording to match yours, generate, then edit anything you like.

Create a document with OneCraft

Related pages

More finished work of this kind is on the document examples hub.