Log InGet OrdStyle

How do I make the same document look completely different without retyping it?

Add a second style set in File > Settings, change only what differs, and switch between them with Ctrl+[ and Ctrl+]. The text never moves — each set renders its own file.

The text of a document says what it is — a chapter heading, a body paragraph, a caption. A style says what that looks like. Because the two are kept apart, one file can hold several complete looks at once and you pick one at render time.

Add a second look

  1. Open File > Settings.
  2. Click New Style at the top of any of the document-style pages and name the set — SLIDES, DARK, CLIENT, whatever it is.
  3. Change what differs. Everything you don’t touch keeps coming from the first set.

Ctrl+[ and Ctrl+] switch the whole document between sets, so you can see each one in the editor before you render anything.

A variant only states what it changes

Style sets inherit from the first one. That is what keeps a second look small: a dark variant is often four lines — redeclare two colors, set the page fill, done.

Variables make this shorter still. On Settings > Tags & Variables give a name to each value you reuse:

Variable Value Used as
accent #E8543A A color, in any color cell
ink #111827 The same
gap 12 A length, in any spacing cell

Refer to one as $name. Variables carry between style sets, so the dark variant redeclares $ink and $accent and every style that used them follows.

Each set renders its own file

Rendering does not overwrite one output with another — the file is named after the set:

ordstyle --pdf report.ord              # → report.STYLE.pdf
ordstyle --pdf report.ord SLIDES       # → report.SLIDES.pdf

So a printed edition and a projected one sit side by side in the same folder, from the same source, and they cannot drift apart.

Moving a look between documents

File > Styles and Themes > Load Style and Save Style move a whole set from one document to another. A style is just text in the document header, which is also why you can send someone a look by sending them a file.

See also