3 \header { texidoc = "@cindex Part Combine Staff
4 You can combine parts on two staffs, as well as two voices. "
9 \context StaffCombineStaff=one \skip 1*7
10 \context StaffCombineStaff=two \skip 1*7
11 \context StaffCombineStaff=one \partcombine StaffCombineStaff
12 \context StaffCombineVoice=one \notes\relative c''
22 \context StaffCombineVoice=two \notes\relative c''
37 \translator{ \RemoveEmptyStaffContext }
39 % The Voice combine hierarchy
43 \name "VoiceCombineThread"
44 \consists "Rest_engraver"
48 \name "VoiceCombineVoice"
51 \remove "Rest_engraver"
52 \accepts "VoiceCombineThread"
55 \RemoveEmptyStaffContext
56 \consists "Mark_engraver"
57 \name "VoiceCombineStaff"
58 \accepts "VoiceCombineVoice"
62 % The Staff combine hierarchy
66 \name "StaffCombineThread"
70 \name "StaffCombineVoice"
71 \accepts "StaffCombineThread"
72 \consists "Thread_devnull_engraver"
75 \RemoveEmptyStaffContext
76 \name "StaffCombineStaff"
77 \accepts "StaffCombineVoice"
83 splitInterval = #'(1 . 0)
84 changeMoment = #`(,(ly:make-moment 1 1) . ,(ly:make-moment 1 1))
89 \accepts "VoiceCombineStaff"
90 \accepts "StaffCombineStaff"
92 \translator{ \RemoveEmptyStaffContext }
96 \accepts "VoiceCombineStaff"
97 \accepts "StaffCombineStaff"
100 %%% FIXME barScriptPadding = #2.0 % dimension \pt
101 RehearsalMark \override #'padding = #4
102 BarNumber \override #'padding = #3
104 %% URG: this changes dynamics too
105 %%textStyle = #"italic"
106 TimeSignature \override #'style = #'C
108 RestCollision \set #'maximum-rest-count = #1