Staff switch lines - GNU LilyPond
Description: GNU LilyPond

Next: Cross staff stems, 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 }
>          >>

##### See also

Program reference: VoiceFollower.

##### Predefined commands

`\showStaffSwitch`, `\hideStaffSwitch`.

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

Other languages: English.
Using automatic language selection.