LilyPond Notation Reference: 5.4.3 Context layout order

### 5.4.3 Context layout order

Contexts are normally positioned in a system from top to bottom in the order in which they are encountered in the input file. When contexts are nested, the outer context will include inner nested contexts as specified in the input file, provided the inner contexts are included in the outer context’s “accepts” list. Nested contexts which are not included in the outer context’s “accepts” list will be repositioned below the outer context rather than nested within it.

Note that a context will be silently created implicitly if a command is encountered when there is no suitable context available to contain it. This can give rise to unexpected new staves or scores.

The default order in which contexts are laid out and the “accepts” list can be changed, see Aligning contexts.

#### See also

Usage Manual: An extra staff appears.

Autres langues : deutsch, español, 日本語.

#### LilyPond — Notation Reference