]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/voice-follower.ly
*** empty log message ***
[lilypond.git] / input / regression / voice-follower.ly
1 \version "2.6.0"
2
3
4 \header { texidoc= "
5
6 Whenever a voice switches to another staff a line connecting the notes
7 can be printed automatically. This is enabled if the property
8 @code{followVoice} is set to true. "
9
10         }
11
12 \relative c'
13 \context PianoStaff <<
14   \set PianoStaff.followVoice = ##t
15   \context Staff = "one" \context Voice {
16     c1
17     \change Staff=two
18     b2 a
19   }
20   \context Staff = "two" {\clef bass \skip 1*2 }
21 >>
22 \layout{ 
23   raggedright = ##t 
24 }
25