2 \header { texidoc = "@cindex Part Combine Staff
3 You can combine parts on two staffs, as well as two voices. "
8 \context StaffCombineStaff=one \skip 1*7
9 \context StaffCombineStaff=two \skip 1*7
10 \context StaffCombineStaff=one \partcombine StaffCombineStaff
11 \context StaffCombineVoice=one \notes\relative c''
21 \context StaffCombineVoice=two \notes\relative c''
36 \translator{ \RemoveEmptyStaffContext }
38 % The Voice combine hierarchy
42 \name "VoiceCombineThread"
43 \consists "Rest_engraver"
47 \name "VoiceCombineVoice"
50 \remove "Rest_engraver"
51 \accepts "VoiceCombineThread"
54 \RemoveEmptyStaffContext
55 \consists "Mark_engraver"
56 \name "VoiceCombineStaff"
57 \accepts "VoiceCombineVoice"
61 % The Staff combine hierarchy
65 \name "StaffCombineThread"
69 \name "StaffCombineVoice"
70 \accepts "StaffCombineThread"
71 \consists "Thread_devnull_engraver"
74 \RemoveEmptyStaffContext
75 \name "StaffCombineStaff"
76 \accepts "StaffCombineVoice"
82 splitInterval = #'(1 . 0)
83 changeMoment = #`(,(ly:make-moment 1 1) . ,(ly:make-moment 1 1))
88 \accepts "VoiceCombineStaff"
89 \accepts "StaffCombineStaff"
91 \translator{ \RemoveEmptyStaffContext }
95 \accepts "VoiceCombineStaff"
96 \accepts "StaffCombineStaff"
99 %%% FIXME barScriptPadding = #2.0 % dimension \pt
100 RehearsalMark \override #'padding = #4
101 BarNumber \override #'padding = #3
103 %% URG: this changes dynamics too
104 %%textStyle = #"italic"
105 TimeSignature \override #'style = #'C
107 RestCollision \set #'maximum-rest-count = #1
112 %% new-chords-done %%