lilypond-learning: Staff groups

 
 2.2.3 Staff groups
 ------------------
 
DONTPRINTYET  Music Glossary: See(music-glossary)brace, *noteDONTPRINTYET  Music Glossary: See(music-glossary)brace, See
 (music-glossary)staff, See(music-glossary)system.
 
    Piano music is typeset in two staves connected by a brace.  Printing
 such a staff is similar to the polyphonic example in SeeMultiple
 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,,4 c' | e c | }
        >>
      }
      [image src="" alt="[image of music]" text="image of music"]
 
    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: See(lilypond-notation)Keyboard and other
 multi-staff instruments, See(lilypond-notation)Displaying staves.