GNU LilyPond Learning Manual: 2.3.3 Staff groups

### 2.3.3 Staff groups

Music Glossary: brace.

Piano music is typeset in two staves connected by a brace. Printing such a staff is similar to the polyphonic example in Multiple staves. However, now this entire expression is inserted inside a `PianoStaff`:

>     \new PianoStaff <<
>       \new Staff …
>       \new Staff …
>     >>

Here is a small example:

>     \relative c'' {
>       \new PianoStaff <<
>         \new Staff { \time 2/4 c4 e g g, }
>         \new Staff { \clef bass c,, c' e c }
>       >>
>     }

Other staff groupings are introduced with `\new GrandStaff`, suitable for orchestral scores, and `\new ChoirStaff`, suitable for vocal scores. These staff groups each form another type of context, one that generates the brace at the left end of every system and also controls the extent of bar lines.

#### See also

Notation Reference: instruments Keyboard and other multi-staff instruments, Displaying staves.

Other languages: français, español, deutsch.

#### Learning Manual