]> git.donarmstrong.com Git - lilypond.git/blob - input/test/follow-thread.ly
* scm/define-grobs.scm (all-grob-descriptions): remove
[lilypond.git] / input / test / follow-thread.ly
1 \version "2.1.7"
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 Threads can be traced automagically when they switch staves by setting
7 property @code{followVoice}. " }
8
9
10 \score {
11         \notes\relative c {
12         \new PianoStaff <<
13                 \property PianoStaff.followVoice = ##t
14                 \context Staff=one \context Voice {
15                         \property Voice.VoiceFollower \set #'style = #'dashed-line
16                         c'1
17                         \change Staff=two
18                         b2 a
19 % these lines from follow-break.ly:
20                         \change Staff=one
21                         a1
22                     }
23                 \context Staff=two {\clef bass \skip 1*3 }
24                 >>
25         }
26
27   \paper { raggedright = ##t }  
28 }
29