1 % dynamics should not collide with staff
2 % dynamics (of two voices) should not collide with eachother
3 % strange stem through beam bug in bar 8 on viola staff
4 % 1-staff-high brace should collapse
7 texidoc="Template for part-combining orchestral scores";
13 violaI = \notes\relative c'' {
14 c1 \break c c c c\break
17 [\!f8\sf(\>as f as][f g d)\!g]|
18 r [es'\p(c)es] r [d(bes)d]|
22 violaII = \notes\relative c'' {
26 [\!f8\sf(\>as f as][f g d)\!g]|
27 r [c\p(g)c] r [bes(g)bes]|
31 violoncello = \notes\relative c {
34 \property Voice.crescendoText = #"cresc."
35 \property Voice.crescendoSpanner = #'dashed-line
36 [g8\p\<(bes' g bes][d bes g)d~]|
37 [d8(a' fis a][d a fis)d]|
38 [\!f!8\sf\>(as f as][f g d)g]|
43 contrabasso = \notes\relative c {
46 \property Voice.crescendoText = #"cresc."
47 \property Voice.crescendoSpanner = #'dashed-line
54 violeStaff = \notes \context Staff = viole <
55 \context Voice=oneViole <
56 \property Staff.instrument = #"Viola"
57 \property Staff.instr = #"Vla."
61 \context Voice=twoViole <
62 \property Staff.instrument = #"Viola II"
63 \property Staff.instr = #"Vla. II"
66 \context Voice=oneViole \partcombine Voice
67 \context Thread=oneViole \violaI
68 \context Thread=twoViole \violaII
71 staffCombinePianoStaffProperties = {
72 \property PianoStaff.devNullThread = #'()
73 \property PianoStaff.soloADue = ##t
74 \property PianoStaff.soloText = #""
75 \property PianoStaff.soloIIText = #""
76 % This is non-conventional, but currently it is
77 % the only way to tell the difference.
78 \property PianoStaff.aDueText = #"\\`a2"
79 \property PianoStaff.splitInterval = #'(1 . 0)
80 \property PianoStaff.changeMoment = #`(,(make-moment 1 1) . ,(make-moment 1 1))
89 \context PianoStaff = bassi_group \notes <
90 \staffCombinePianoStaffProperties
91 \context Staff=oneBassi < \clef bass;
92 \property Staff.instrument = #'(lines
93 "Violoncello" " e" "Contrabasso")
95 \property Staff.instr = #"Vc."
97 \context Staff=twoBassi < \clef bass;
98 \property Staff.instrument = #"Contrabasso"
99 \property Staff.instr = #"Cb."
103 \context Staff=oneBassi \partcombine Staff
104 \context Voice=oneBassi { \violoncello }
105 \context Voice=twoBassi { \contrabasso }
111 linewidth = 80 * \staffspace;
112 textheight = 200 * \staffspace;
115 \consists "Rest_engraver";
117 % Set value for engraver at thread level,
118 % to override the default that is set in ScoreContext
119 % for added engraver at Voice level
124 \remove "Rest_engraver";
126 % The staff combine (bassi part) needs a
127 % thread_devnull_engraver here.
128 % Instead of maintaining two separate hierarchies,
129 % we switch add it, but switch it off immideately.
130 % The staff combine parts switch it on.
131 % devNullThread = #'never
132 \consists "Thread_devnull_engraver";
135 \HaraKiriStaffContext
136 \consists "Mark_engraver";
139 \OrchestralScoreContext
143 % By default, turn off the Thread_devnull_engraver
145 devNullThread = #'never
148 currentBarNumber = #218
149 BarNumber \override #'padding = #3
150 RestCollision \override #'maximum-rest-count = #1
151 marginScriptHorizontalAlignment = #1
152 TimeSignature \override #'style = #'C