Log InGet OrdStyle

Are my styles saved in the document or on my machine?

Styles are stored inside the .ord file, so a document carries its own appearance wherever it goes. Themes — the editor's own font, colors and window layout — belong to your machine and never travel with a document.

These are two different things that both live behind Settings, and telling them apart saves a lot of confusion:

  • A style decides how the document is typeset. It belongs to the document.
  • A theme decides how the editor looks — editor font, colors, window layout, autosave. It belongs to you.

Send someone a document and they see your styles. They do not see your theme, and you do not get theirs. Ctrl+Shift+[ and Ctrl+Shift+] switch between themes.

Where the styles actually sit

In the file. A .ord document is a UTF-8 text file with a short header followed by the body — the words you typed, as you typed them. The header holds:

Section Holds
Users The color assigned to each person who has worked on the document
Comments Comments and suggestions, one per line
Chats The document’s chat, one message per line
History The undo history, as JSON Lines
Styles One section per style set

Every section is optional and the program writes all of them for you — the styles from File > Settings, the rest as you work. There is no reason to edit the header by hand.

Because it is all text, a document diffs cleanly and belongs in version control alongside whatever it documents.

Moving a look between documents

File > Styles and Themes > Load Style and Save Style move a whole style set from one document to another. That is the supported way to reuse a look — not copying header text between files.

Cleaning up

Output > Prune Unused Styles… renders every style set, works out which style definitions the document never actually reads, and deletes them. Worth running after a document has been through a few redesigns.

See also