2 % move to regtest once it works?
6 On their own staff, staffcombined voices should be stemboth (not up/down);
7 while voicecombined threads should get their direction set (up/down)";
13 violaI = \notes\relative c'' {
16 violaII = \notes\relative c'' {
21 violoncello = \notes\relative c' {
22 c8 c c c c8 c c c\break
26 contrabasso = \notes\relative c {
27 a4 a8 a a8 a a a\break
31 violeStaff = \notes \context Staff = viole <
32 \context Voice=oneViole <
33 \property Staff.instrument = #"Viola"
34 \property Staff.instr = #"Vla."
38 \context Voice=twoViole <
39 \property Staff.instrument = #"Viola II"
40 \property Staff.instr = #"Vla. II"
43 \context Voice=oneViole \partcombine Voice
44 \context Thread=oneViole \violaI
45 \context Thread=twoViole \violaII
48 staffCombinePianoStaffProperties = {
49 \property PianoStaff.devNullThread = #'()
50 \property PianoStaff.soloADue = ##t
51 \property PianoStaff.soloText = #""
52 \property PianoStaff.soloIIText = #""
53 % This is non-conventional, but currently it is
54 % the only way to tell the difference.
55 \property PianoStaff.aDueText = #"\\`a2"
56 \property PianoStaff.splitInterval = #'(1 . 0)
57 \property PianoStaff.changeMoment = #`(,(make-moment 1 1) . ,(make-moment 1 1))
58 \property PianoStaff.noDirection = ##t
67 \context PianoStaff = bassi_group \notes <
68 \staffCombinePianoStaffProperties
69 \context Staff=oneBassi < \clef bass;
70 \property Staff.instrument = #'(lines
71 "Violoncello" " e" "Contrabasso")
73 \property Staff.instr = #"Vc."
75 \context Staff=twoBassi < \clef bass;
76 \property Staff.instrument = #"Contrabasso"
77 \property Staff.instr = #"Cb."
81 \context Staff=oneBassi \partcombine Staff
82 \context Voice=oneBassi { \violoncello }
83 \context Voice=twoBassi { \contrabasso }
89 linewidth = 80 * \staffspace;
90 textheight = 200 * \staffspace;
93 \consists "Rest_engraver";
95 % Set value for engraver at thread level,
96 % to override the default that is set in ScoreContext
97 % for added engraver at Voice level
102 \remove "Rest_engraver";
104 % The staff combine (bassi part) needs a
105 % thread_devnull_engraver here.
106 % Instead of maintaining two separate hierarchies,
107 % we switch add it, but switch it off immideately.
108 % The staff combine parts switch it on.
109 % devNullThread = #'never
110 \consists "Thread_devnull_engraver";
113 \HaraKiriStaffContext
114 \consists "Mark_engraver";
117 \OrchestralScoreContext
121 % By default, turn off the Thread_devnull_engraver
123 devNullThread = #'never
126 currentBarNumber = #218
127 BarNumber \override #'padding = #3
128 RestCollision \override #'maximum-rest-count = #1
129 marginScriptHorizontalAlignment = #1
130 TimeSignature \override #'style = #'C