All articles

Page & layout

Set up the page

Every template has one page setup: the paper size, which way round the sheet sits, and the margins around the printed area. It applies to every page of every document the template produces. Set it early — a table that fits neatly on Letter can wrap differently on A5, and a group you kept together on one page can stop fitting.

A blank template starts on A4, Portrait, with a 20 mm margin on every side.

Before you start

  • In the hosted app, changing a template needs the editor role or higher. Local mode has a single user and no roles.
  • Make your changes in the Flow view. In the Paged view the outline and the properties panel are dimmed and do not respond to clicks.

Open the document settings

Page settings belong to the whole document rather than to one block, so they sit on the Document side of the properties panel.

  1. Open the properties panel with the properties button at the far right of the app bar (tooltip Show properties panel), or press ⌘. (Ctrl+. on Windows).
  2. At the top of the panel, switch from Selection to Document.

The panel is now headed Document, with Theme, page & locale beneath. Any block you had selected stays selected; clicking a block on the canvas switches the panel back to Selection.

The Document side holds, top to bottom: Primary color, Typography, Brand fonts, Page, Locale & currency, Table style and Watermark. This article covers Page and summarises Locale & currency. For the rest, see Document theme, Brand fonts and Watermarks.

Choose a paper size

In the Page section, open Size and choose A4, A3, A5, A6, B4, B5, Letter, Legal, Tabloid / Ledger, Executive or Custom.

For every size except Custom, Orientation offers Portrait and Landscape. Landscape turns the same sheet on its side.

The Page section of the document settings. Units is set to millimetres, Size to A4 and Orientation to Portrait. The Different margins per side checkbox is unticked, and the Margin box reads 20.

A custom size

  1. Choose Custom under Size.
  2. Width (mm) and Height (mm) appear, already filled in with the size you had before.
  3. Type the width and height you need, then press Enter or click away.

A custom page has no Orientation control: enter the width and height in the shape you want, wider than tall for a landscape page. Each side can be up to 2000 mm; a larger value is not applied, and Weft says why. A box left empty, or holding zero or a negative number, goes back to its previous value.

Set the margins

The margin is the blank border between the edge of the paper and the printed area.

  • For the same margin on all four sides, type it in Margin (mm). This single margin must be more than 0; a 0 here is not applied, and Weft says why.
  • To set the sides separately, tick Different margins per side. Top (mm), Right (mm), Bottom (mm) and Left (mm) appear, each starting at the margin you had. A side can be set to 0.
  • Untick Different margins per side to go back to one margin. Every side then takes the value that was in Top (mm), so that value must be more than 0 too.

A negative margin is not accepted; the box goes back to its previous value.

The margins also decide how much room a running header and footer have, because they print inside the top and bottom margins — see Headers and footers. A cover page and a back cover can have margins of their own — see Cover pages.

Millimetres or inches

Units switches every page-size and margin box between mm and in, and the labels change to match. It changes only how the numbers are shown and typed: the page itself stays exactly the same size. The choice is saved with the template, so anyone who opens it sees the same units.

Locale, currency and dates

Below Page, the Locale & currency section sets the conventions values print with across the whole document:

  • Locale — a language and region tag such as en-GB or de-DE. It decides separators in numbers, month names and the order of a date. A tag Weft does not recognise is refused, with a note saying which locale it kept.
  • Currency — a three-letter code such as EUR or USD, used by any currency value that does not name its own.
  • Symbol position (Auto, Before, After) and Display (Symbol, Code) — with a currency preview underneath.
  • Date format and Time format — each option shows a sample of how it prints. Time format applies to date-and-time values only.

How these combine with each value's own format is covered in Format values.

See the result

The Flow view does not show the page size or margins: it lays your content out to the width of the canvas, without pages. To see real pages:

  1. Click Paged in the bar directly above your document. Weft lays out the pages with your size and margins, and the bar shows how many there are — for example, 3 pages.
  2. To change something, click Flow, make the change, then click Paged again; the pages are laid out afresh each time. ⟳ Refresh (tooltip Rebuild the page preview) lays them out again without leaving the Paged view.

For the final check, press Preview PDF in the same bar. It renders the document the way the finished PDF is produced and opens it in a new tab.

Good to know

  • Every body page has the same size and margins. Only a cover page and a back cover can have different margins, and they still use the document's paper size.
  • A different paper size or margin moves page breaks. After changing either, look through the document in the Paged view — see Control page breaks.
  • Every change here is one step you can undo with Undo (⌘Z, or Ctrl+Z on Windows).

What next