]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/voice-follower.ly
* lily/beam.cc (set_stem_lengths): single-stem-beam fix.
[lilypond.git] / input / regression / voice-follower.ly
1 #(ly:set-option 'old-relative)
2 \version "1.9.4"
3
4
5 \header { texidoc= "
6
7 Whenever a voice switches to another staff a line connecting the notes
8 can be printed automatically. This is enabled if the property
9 @code{Thread.followVoice} is set to true. "
10
11 }
12 \score {
13 \notes \relative c'
14 \context PianoStaff <<
15     \property PianoStaff.followVoice = ##t
16     \context Staff = one \context Voice {
17       c1
18       \translator Staff=two
19       b2 a
20     }
21     \context Staff = two {\clef bass \skip 1*2 }
22   >>\paper{ 
23 linewidth =-1.
24 }}