]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/voice-follower.ly
The grand \paper -> \layout, \bookpaper -> \paper renaming.
[lilypond.git] / input / regression / voice-follower.ly
1 \version "2.3.22"
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      \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 }