Node: Staff switch lines, Previous: Arpeggio, Up: Piano music



Staff switch lines

Whenever a voice switches to another staff a line connecting the notes can be printed automatically. This is enabled if the property PianoStaff.followVoice is set to true:

       \context PianoStaff <<
         \property PianoStaff.followVoice = ##t
         \context Staff \context Voice {
           c1
           \translator Staff=two
           b2 a
         }
         \context Staff=two { \clef bass \skip 1*2 }
       >>
     

[picture of music]

The associated object is VoiceFollower.

Predefined commands

\showStaffSwitch, \hideStaffSwitch.


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

Report errors to <bug-lilypond@gnu.org>.