4 Instrument names can also be attached to staff groups.
16 \new StaffGroup \with { instrumentName = #"StaffGroup" } <<
17 \new PianoStaff \with { instrumentName = #"PianoStaff" } <<
18 \new Staff \with { instrumentName = #"Right" } { c''4 }
19 \new Staff \with { instrumentName = #"Left" } { \clef bass c4 }
22 \new ChoirStaff \with { instrumentName = #"ChoirStaff" } <<
27 \new GrandStaff \with { instrumentName = #"GrandStaff" } <<
28 \new Staff \with { instrumentName = #"I" } { c''4 }
29 \new Staff \with { instrumentName = #"II" } { \clef bass c4 }
31 % Nested groups should not inherit the instrument name from the parent group
32 \new StaffGroup \with { instrumentName = #"nested group" } <<