]> git.donarmstrong.com Git - lilypond.git/blob - input/test/follow-thread.ly
Removed file; it was a duplicate of beam-isknee.ly
[lilypond.git] / input / test / follow-thread.ly
1 \version "1.7.18"
2
3 % followVoice: connect note heads with line when thread switches staff 
4 \header{ texidoc="@cindex followVoice Thread
5 Theads can be traced automagically when they switch staves by setting
6 property @code{followVoice}. " }
7
8
9 fragment = \notes {
10   \context PianoStaff <
11     \property PianoStaff.followVoice = ##t
12     \property Voice.VoiceFollower \set #'type = #'dashed-line
13     \context Staff \context Voice {
14       c'1
15       \translator Staff=two
16       b2 a
17     }
18     \context Staff=two {\clef bass \skip 1*2}
19   >
20 }
21
22 \paper { raggedright = ##t} 
23
24 \score {
25   \notes\relative c \fragment
26   \paper { raggedright = ##t }  
27 }
28 %% new-chords-done %%