LilyPond Notation Reference: A.20 Context modification identifiers

## A.20 Context modification identifiers

The following commands are defined for use as context modifications within a `\layout` or `\with` block.

`\RemoveAllEmptyStaves`

  Remove staves which are considered to be empty according to the list of interfaces set by `keepAliveInterfaces`, including those in the first system.

  - Sets grob property `remove-empty` in `VerticalAxisGroup` to `#t`.
  - Sets grob property `remove-first` in `VerticalAxisGroup` to `#t`.
`\RemoveEmptyStaves`

  Remove staves which are considered to be empty according to the list of interfaces set by `keepAliveInterfaces`.

  - Sets grob property `remove-empty` in `VerticalAxisGroup` to `#t`.

#### LilyPond — Notation Reference v2.22.2 (stable-branch).