Next: , Previous: Pedals, Up: Piano music


7.1.4 Staff switch lines

Whenever a voice switches to another staff, a line connecting the notes can be printed automatically. This is switched on by setting followVoice to true

     
     \new PianoStaff <<
       \new Staff="one" {
         \set followVoice = ##t
         c1
         \change Staff=two
         b2 a
       }
       \new Staff="two" { \clef bass \skip 1*2 }
     >>

[image of music]

See also

Program reference: VoiceFollower.

Predefined commands

\showStaffSwitch, \hideStaffSwitch.


Next: , Previous: Pedals, Up: Piano music

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.