# Flow Style

> Built-in house styles, custom house inheritance, and per-book style overrides in Flow.

Canonical page: [https://docs.score.miso.fm/flow/style/](https://docs.score.miso.fm/flow/style/)

Flow Style configures the visual house style of a project: page furniture, fonts, staff sizes, spacing grids, and rehearsal-mark appearance. Every line starts with `style` and stands at the project level (never after `in <N>:`).

## Built-In Houses

Select a starting house style for the entire project with `style house "<name>"`.

```text
style house "miso"
```

| House | Purpose | Key Characteristics |
| --- | --- | --- |
| `parts` | Default orchestral and theatre parts | Classic copyist part furniture: uppercase book header, quoted show title, `#N` numbering, bold italic title, `-2-` running page numbers |
| `broadway-pc` | Broadway piano-conductor books | Extends `parts`; top row with book left, show right, boxed number far right; centered uppercase title; compact 17.3 pt staff height; tight `staffFit` vertical packing; `– N –` centered page footers |
| `film` | Film cues (score and parts) | Extends `parts`; cue number (`1m1`) and title top left, composer right, picture/version line below, bar numbers on every bar |
| `miso` | Miso Score's house style | Letterspaced bold book name left, uppercase show right, boxed number on every page, Source Serif 4 for prose, Source Sans 3 for numbers/labels, Source Code Pro for timecodes, date and version in inner footer, cover and contents pages per book |
| `miso-film` | Film cues in the Miso house | Extends `miso`; boxed cue number (`1M1`), letterspaced title beside it, composer under the box, Source Code Pro timecodes, 9 × 12 in page, 10 pt bar numbers on every bar |

### Comparing `miso` and `broadway-pc`

The exact same four-bar vocal opening engraved under two built-in house styles — only the `style house` line changes:

```text
style house "miso"
```

![Four-bar vocal opening of Every Clock on Quill Street engraved in the miso house style with Source Serif 4 and Source Sans 3 typography](https://docs.score.miso.fm/examples/style-miso.svg)

```text
style house "broadway-pc"
```

![The exact same four-bar vocal opening engraved in the broadway-pc house style with TeX Gyre Schola and Heros typography and compact 17.3 pt staff height](https://docs.score.miso.fm/examples/style-broadway.svg)

## Project-Wide Keys

Override any key in the active house across every number in the project. Values use JSON syntax (numbers, booleans, strings, arrays, or objects). Pass `-` to remove a key.

```text
style house "broadway-pc"
style rehearsal.size 11
style staffNames true
style rehearsal.size -
```

## Custom Houses (`style house`)

Define a reusable custom house that ships with the project. A custom house can extend any built-in house or another custom house (up to an inheritance depth of 8) and cannot reuse a built-in house's name.

```text
style house pit extends broadway-pc
style house pit rehearsal.size 10
style house pit kind score staffHeight 12
style house pit kind keyboard staffHeight 18
style house pit staffGap -
style house "pit"
```

| Form | Effect |
| --- | --- |
| `style house <name> extends <house>` | Create or reparent a custom house starting from `<house>`. |
| `style house <name> <key> <value>` | Set a key on the custom house (`-` removes it). |
| `style house <name> kind <kind> <key> <value>` | Set a key applied only to books of `<kind>`: `keyboard`, `pc`, `vocal`, `score`, or `large`. |
| `style house <name> -` | Delete the custom house. |

## Book-Level Overrides (`style book`)

Override keys for one book without affecting other books in the project. Keys use dotted paths and merge into existing groups (setting `rehearsal.size` preserves `rehearsal.pad`).

```text
style book pc rehearsal.size 11
style book pc furniture.running.size 8
style book Vln house film
style book pc rehearsal.size -
```

Values accept a bare word, a number, `true`/`false`, a JSON list `[...]`, or a JSON object `{...}`. Pass `-` to remove the override.

## Style Resolution Order

When engraving a book, the engine resolves layers in one fixed order. Later layers override earlier ones:

1. **Engine defaults** (`Style{}`).
2. **Book paper size** (`project book <id> page Letter paper` or `A4 paper`).
3. **House inheritance chain** (`style house` and any `extends` ancestors).
4. **House kind block** matching the book's `kind` (`keyboard`, `pc`, `vocal`, `score`, `large`).
5. **Project style keys** (`style <key> <value>`). If a book selects a different house than the project, it inherits only project keys that its own house does not define.
6. **Book style keys** (`style book <id> <key> <value>`).
7. **Reader layer** (client-side only: tablet sheet size, `musicScale`, `textScale`, `light` dim/dark scaling, `noItalic`, `wordSpace`, `noteSpace`). Reader preferences alter only that musician's device copy and never modify the canonical house style.

No `style` key addresses an individual bar, page, or staff. Use [Flow Layout](https://docs.score.miso.fm/flow/layout/) for place-specific overrides.
