Log InGet OrdStyle

Document Styling

The text of a document says what it is — a chapter heading, a body paragraph, a warning, a caption. A style says what that looks like. The two are kept apart, which is what lets one file become a book, a report, a deck or a web page without a word of it changing.

Where styles live

Styles are edited in File > Settings, one page per subject. They are stored inside the document itself, so a document carries its own appearance wherever it goes.

Page What it covers
Page & Slides Paper size and margins, background images, output and slide options, blank pages
Front & Back Title page, author and date, table of contents, lists of figures and tables, indices
Headers & Footers What runs across the top and bottom of each page, page numbering, and where footnotes sit
Regions Named areas of the page — sidebars, panels, margin notes — that styles can send content to
Text Styles Every paragraph style: font, size, weight, color, spacing, indents, alignment, keep-with-next, and which style follows it
Block & Figure Styles The boxes around quotes and callouts (fill, border, accent bar, padding), and default sizing and framing for figures
Table & Chart Styles Table borders, striping, cell padding and header look; chart palettes, fonts, gridlines and legends
Titles, Bullets, & Dashes Heading numbering schemes, bullet characters per level, and what each dash does to the printed text (by default, nothing)
Tags & Variables Audience tags, the $name values you reuse through the document, and your own names for fonts
Highlights 95 numbered highlights — colors, effects and fonts, the first ten applied with Ctrl+Shift+1…0 — plus how text marked bold, italic or underline prints, and whether colors and pictures print inverted

Styles and themes are different things. A style decides how the document is typeset and belongs to the document. A theme decides how the editor looks — editor font, colors, window layout, autosave — and belongs to you. Themes never travel with a document. Ctrl+Shift+[ and Ctrl+Shift+] switch between them.

Styles apply themselves

You do not tag every paragraph. A heading gets the heading style for its level; the text under it gets that level’s body style; a bullet gets the style for its level and bullet type; a caption gets the caption style. That happens because of what the line is.

Styles fall back on each other in a chain. A level-3 body paragraph looks for a level-3 body style; failing that, the general body style; failing that, the level-3 section style, then level 2, then level 1, then the document default. So one setting on the default reaches everything, and a setting on a level-1 section reaches that whole chapter.

This has one consequence worth knowing up front:

  • A bare heading style styles the whole section — heading, body, bullets, captions and all.
  • Anything meant for the heading line alone goes on that heading’s own title style.

So if a color you put on “Heading 2” turns the whole chapter that color, you wanted the title style, not the section style. Output > Styling Help (Ctrl+Shift+H) puts a band along the bottom of the window naming the style the line at the cursor is using, and which style each of its settings came from. It is the fastest way to answer “why does this look like that”.

Applying a style by hand

Put the style’s name in brackets at the start of the line:

[Lead] The opening paragraph, set larger than the rest.
# [Chapter] A heading using the Chapter style
- [Checklist] A bullet using the Checklist style

An explicit name wins over whatever the line would have got on its own. Format > Paragraph Style… offers the list rather than making you type it.

Styling a few words

Format > Character Style… marks a run inside a paragraph:

A {=term=design variable} is looked up with {=code=resolveColor()}.

The advantage over plain bold-and-italic is that the text now says what the run is — a term, a piece of code. Change the term style later and every instance restyles at once.

Styling by position

A style name can carry a selector that targets blocks by where they fall rather than what they are: the first two level-2 headings, every second body paragraph, the first paragraph of each section.

[#2.1-2]        the first two level-2 headings under each level-1
[#2.2/5]        the 2nd, 7th, 12th … level-2 heading
[Bd./2]         every 2nd body paragraph
[#3_Bd.first]   the first body paragraph of each level-3 section

.first, .last, .odd, .even and .only work too, and the same grammar addresses figures, tables and quotes. A selector overrides only the settings it names; everything else still comes from the normal style. It is the one thing that beats a bracketed name: a paragraph written [Note] that a selector also matches takes the selector’s settings, and Note fills in the rest.

Drop caps, first words, first lines

[Bd:letter]              an inline raised initial on every body paragraph
[#1_Bd.first:letter(3)]  a three-line drop cap on each chapter's opening paragraph
[Bd:word]                a run-in first word
[#2_Bd.first:line]       a styled first line

One style leading to the next

A style’s Sequence field says what the paragraphs after it should be. Set it on your chapter heading to Kicker,Title,Sub?,Lead and the first four paragraphs of every chapter take those styles in order without your tagging any of them. Nothing is written into the document — the rule applies when the page is drawn, so typing a new paragraph after a Kicker simply is a Title in the preview.

Values you reuse

A variable is a value you name once and use everywhere. Go to Settings > Tags & Variables, add a row to the Variables table, and give it a name and a value:

Variable Value Then use it as
accent #E8543A A color, in any color cell
muted #6B7280 The same
gap 12 A length, in any spacing cell
company Acme Corporation Text, in the document

Refer to one as $name — type $accent into a color cell, or Written by $company. into the text. Re-skinning or rewording the whole document is then one edit in one place. Three variables always exist and are not listed: $DATE, $TITLE and $AUTHOR.

Variables carry between style sets, so you define your palette once on the first set and a dark variant only redeclares the two or three colors it actually changes.

Boxes, panels and rules

A block style is a box: fill, border, corner rounding, padding, and a left accent bar. Give one the same name as a text style and any paragraph using that text style gets the box:

[card] This whole paragraph renders inside its own panel.

Give one the same name as a heading style and the box wraps that heading’s whole section — the heading and everything under it. These nest, so a box on a chapter and a box on a section inside it layer like colored panels.

Block styles also give you:

  • Per-side borders — a bottom-only border is the “rule below” list separator.
  • Shaped edges — skew, slant, chevron, arrow, cut corner.
  • Bleed — let the box’s ink run past the text column to the page edge.
  • Timeline bars — turn the accent bar into a rail with a dot, tick or arrowhead at each entry.
  • Box width and alignment — narrow a box below its column and park it left, center or right.

Fills

Every background in the program — a page, a box, a column, a region — is set the same way. Double-click the background cell and the Fill dialog opens, offering:

  • A solid color, picked or named with a variable.
  • A linear gradient, at an angle you choose, with as many stops as you like.
  • A radial gradient, out from the center.
  • An image, scaled to cover or to fit, in full color, grayscale or duotone.
  • An SVG.

Two of its options are worth knowing about, because they save a lot of fiddling:

  • Reversed ink. Give the fill a text color and anything printed over it flips to that color — but only where the text color was inherited rather than chosen deliberately. Put a dark fill behind a section and the type turns white on its own, while a heading you deliberately colored stays as you set it. You do not have to restyle a section to reverse it.
  • Overlay. A translucent wash over a photo, so text on top of it stays legible.

Decoration and layouts

A text style’s Icon field decorates every block that uses it — a character, an SVG or a picture, placed at a corner of the box, out in the margin, or as a watermark behind the text — with no mark in the text itself. Double-click the cell to build one.

Its Presentation field turns the lines under it into records: each line is split at | into fields and laid out as cards, a grid, a table, dot leaders or margin notes, with styles for each row, column and single cell. A field’s leading number can draw as a meter — a bar, a ring, a gauge, stars. The group ends at the next blank line. Double-click the cell for the layout dialog.

Columns and regions

A text style can carry a column layout in its Columns field, so every section with that heading style is set in columns automatically — no COL| lines in the text.

A region is a named frame on the page: a sidebar, a top band, a margin rail, a fixed rectangle. Add one on the Settings > Regions page — a row per frame, where you give it a name, say where it sits and how big it is, and point it at a block style for its fill and border. Then any text style can route its content into that frame by name.

Regions can reserve space, so the body text narrows around them, or float free as decoration. They can be rotated for a spine label, stacked one below another, and they carry from page to page until a section brings in a different set.

Several looks in one document

A document can hold more than one complete set of styles. A printed set and a projected set. A light version and a dark one. Your brand and a client’s.

  • Ctrl+[ and Ctrl+] switch the whole document between sets.
  • The buttons at the top of every Settings page — New, Rename, Copy, Remove — manage them.
  • File > Styles and Themes > Load Style and Save Style move a set between documents.

Each set writes its own output file, named after it, so rendering gives you report.STYLE.pdf and report.SLIDES.pdf side by side.

Sets inherit from the first one, so a variant only has to state what it changes. Combined with variables, a dark variant can be four lines: redeclare $ink and $accent, set the page fill, and you are done.

Housekeeping

Output > Prune Unused Styles… renders every style set, works out which style definitions the document never actually reads, and deletes them. Useful after a document has been through a few redesigns. Open Settings once before running it, and save afterward to keep the result.

Next steps