Next: , Previous: Multiple staves, Up: Multiple notes at once


2.3.3 Piano staves

Piano music is typeset in two staves connected by a brace. Printing such a staff is similar to the polyphonic example in Multiple staves, but 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 }
       >>
     }

[image of music]

More information

See Piano music.


Next: , Previous: Multiple staves, Up: Multiple notes at once

This page is for LilyPond-2.10.33 (stable-branch).

Report errors to http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs.

Other languages: French.