]> git.donarmstrong.com Git - lilypond.git/blob - input/test/follow-thread.ly
* lily/align-interface.cc (find_fixed_alignment_parent): new function.
[lilypond.git] / input / test / follow-thread.ly
1 \version "1.7.18"
2 % MERGED: stuff from follow-break.ly to follow-thread.ly
3
4 % followVoice: connect note heads with line when thread switches staff 
5 \header{ texidoc="@cindex followVoice Thread
6 Theads can be traced automagically when they switch staves by setting
7 property @code{followVoice}. " }
8
9
10 \score {
11         \notes\relative c {
12         \context PianoStaff=ps <
13                 \property PianoStaff.followVoice = ##t
14                 \context Staff=one \context Voice {
15                         \property Voice.VoiceFollower \set #'type = #'dashed-line
16                         c'1
17                         \translator Staff=two
18                         b2 a
19 % these lines from follow-break.ly:
20                         \translator Staff=one
21                         a1
22                     }
23                 \context Staff=two {\clef bass \skip 1*3 }
24                 >
25         }
26
27   \paper { raggedright = ##t }  
28 }
29 %% new-chords-done %%