]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/voice-follower.ly
* scripts/lilypond-book.py (do_file): do not overwrite input file.
[lilypond.git] / input / regression / voice-follower.ly
1 \version "2.1.26"
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 \score {
12 \notes \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   >>\paper{ 
22 linewidth =-1.
23 }}