All articles

Elements

Heading element

A Heading is a title: the name of the document, a part, a clause. It prints in bold, in the document's primary colour, at one of six levels from H1 (the largest) to H6 (the smallest). Use headings wherever a reader scans for structure.

For running text use a Paragraph instead (see Paragraph element). If the title belongs to a group of blocks that should move, break across pages or be hidden together, a Section may suit better: its title is part of the section itself (see Section element).

Changing a template needs the editor role or higher in the hosted product. Local mode has no roles, and headings work the same in both.

Add one

Open the add-block menu — the Add block button at the top of the Outline, or a + on the canvas in Flow view (under the selected block, at the end of the document, or on the dashed line that appears between blocks as you hover) — and pick Heading in the Content group. It arrives at level H2, reading "Heading".

The new heading lands beside the block you started from, in the same container: after the selected block, or at the gap where you pressed +. With nothing selected, Add block puts it at the end of the document. So to put one inside a Section, a column, a grid cell, a Repeat or a Conditional, start from a block already inside it, or use the + beside that column or cell in the Outline. Headings also work on the cover page, the back cover, and in the page header and footer. A table cell holds text only, so a heading cannot go there.

Properties

Select the heading and open the properties panel with the panel button at the far right of the app bar (tooltip Show properties panel), or press ⌘. (Ctrl+. on Windows). The panel shows, in order: Level, Content, Style, then the shared panels.

Level

H1, H2, H3, H4, H5, H6 — the heading's level. It sets the printed size, relative to the Base size (pt) in the Typography section of the document settings (switch the top of the properties panel from Selection to Document):

LevelPrints
H1 to H3Larger than body text, H1 largest
H4At the base size
H5, H6Slightly smaller than body text

Every level prints bold. Raising the document's base size scales your headings with it, except any heading given its own Size (pt) below.

Content

The heading's words. Double-click them on the canvas in Flow view to type in place:

  • Enter splits the heading in two at the cursor. At the very end of a heading it starts a new paragraph underneath instead.
  • Shift+Enter adds a line break inside the heading.
  • Escape, or clicking elsewhere, keeps your change and stops editing. Undo takes the change back in one step.

In the panel the words appear as runs — pieces of fixed text, values from your data, formulas and page numbers — with buttons to add more (+ Text, + Field, + Formula, + Page #, + Page count) and per-run formatting. See Text runs.

Style

Applies to the whole heading. A run's own formatting overrides it.

  • Alignment — Auto (the default: follows the surrounding container, which is left in the page body), then Left, Center, Right and Justify, shown as icons and named by their tooltips. In Flow view, the L, C, R and J buttons on the canvas toolbar above a selected heading do the same; open that toolbar with its button (tooltip Formatting options).
  • Size (pt) — a fixed size in points that replaces the size the level gives. Leave it empty to size by level.
  • Font — Theme default uses the document's font. Brand fonts added to the document appear in the list too.
  • Color — Theme default uses the document's Primary color.
  • Transform — None, Uppercase, Lowercase or Capitalize. It changes how the words print, not what you typed.
  • Letter spacing (pt) — extra space between letters; a negative number tightens them.
  • Small caps — prints lowercase letters as small capitals.

Shared panels

Box, Spacing, Keep with next block — stay with what follows and Conditional work the same as on other elements; see Shared element properties.

Binding it to data

A heading can carry values from your data: add a field run among the fixed words, so one heading reads "Invoice" followed by that record's invoice number. If the field is empty for a record, nothing prints in its place and the fixed words around it stay. See Bind fields.

How it prints

A heading that lands at the foot of a page can end up separated from the text it introduces. Turn on Keep with next block — stay with what follows and Weft keeps the heading on the same page as the block after it. See Control page breaks.

A heading in the page header or footer repeats on every page except a cover page or back cover.

Good to know

  • Headings are always bold, and nothing in the properties panel turns that off. The run editor's B usually makes no visible difference on a heading. For a large title that is not bold, use a paragraph with a bigger Size (pt).
  • Headings without a Color of their own follow the document's Primary color, so changing it in the document settings recolours all of them at once. See Document theme.
  • Level is about size and weight only. The PDF does not gain a table of contents or bookmarks from your headings.
  • While you are reviewing changes Buddy proposed, the properties panel is paused until you accept or discard them.