2 % TODO: this example has a ton of text for very little output.
3 % Is it all needed? -gp
4 % should this go to regression or be delete'd? -gp
5 \header{ texidoc="@cindex Part Combine Moments
6 When you combine two voices with the same notes, you should
12 \context StaffCombineStaff=one \skip 1*2
13 \context StaffCombineStaff=two \skip 1*2
14 \context StaffCombineStaff=one \partcombine StaffCombineStaff
15 \context StaffCombineVoice=one \notes\relative c''
20 \context StaffCombineVoice=two \notes\relative c''
31 \translator{ \RemoveEmptyStaffContext }
33 % The Voice combine hierarchy
37 \name "VoiceCombineThread"
38 \consists "Rest_engraver"
42 \name "VoiceCombineVoice"
45 \remove "Rest_engraver"
46 \accepts "VoiceCombineThread"
49 \RemoveEmptyStaffContext
50 \consists "Mark_engraver"
51 \name "VoiceCombineStaff"
52 \accepts "VoiceCombineVoice"
56 % The Staff combine hierarchy
60 \name "StaffCombineThread"
64 \name "StaffCombineVoice"
65 \accepts "StaffCombineThread"
66 \consists "Thread_devnull_engraver"
69 \RemoveEmptyStaffContext
70 \name "StaffCombineStaff"
71 \accepts "StaffCombineVoice"
77 splitInterval = #'(1 . 0)
78 changeMoment = #`(,(ly:make-moment 1 1) . ,(ly:make-moment 1 1))
83 \accepts "VoiceCombineStaff"
84 \accepts "StaffCombineStaff"
86 \translator{ \RemoveEmptyStaffContext }
90 \accepts "VoiceCombineStaff"
91 \accepts "StaffCombineStaff"
94 %%FIXME barScriptPadding = #2.0 % dimension \pt
95 RehearsalMark \override #'padding = #4
96 BarNumber \override #'padding = #3
97 %% URG: this changes dynamics too
98 %%textStyle = #"italic"
99 TimeSignature \override #'style = #'C
100 RestCollision \set #'maximum-rest-count = #1
104 %% new-chords-done %%