1 #(ly:set-option 'old-relative)
4 % move to regtest once it works?
7 % still not workign ? --hwn.
11 On their own staff, staffcombined voices should be stemboth (not up/down)
12 while voicecombined threads should get their direction set (up/down)
20 violaI = \notes\relative c'' {
23 violaII = \notes\relative c'' {
28 violoncello = \notes\relative c' {
29 c8 c c c c8 c c c\break
33 contrabasso = \notes\relative c {
34 a4 a8 a a8 a a a\break
38 violeStaff = \notes \context Staff = viole <<
39 \context Voice=oneViole <<
40 \property Staff.instrument = #"Viola"
41 \property Staff.instr = #"Vla."
45 \context Voice=twoViole <<
46 \property Staff.instrument = #"Viola II"
47 \property Staff.instr = #"Vla. II"
50 \context Voice=oneViole \partcombine Voice
51 \context Thread=oneViole \violaI
52 \context Thread=twoViole \violaII
55 staffCombinePianoStaffProperties = {
56 \property PianoStaff.devNullThread = #'()
57 \property PianoStaff.soloADue = ##t
58 \property PianoStaff.soloText = #""
59 \property PianoStaff.soloIIText = #""
60 % This is non-conventional, but currently it is
61 % the only way to tell the difference.
62 \property PianoStaff.aDueText = #"\\`a2"
63 \property PianoStaff.splitInterval = #'(1 . 0)
64 \property PianoStaff.changeMoment = #`(,(ly:make-moment 1 1) . ,(ly:make-moment 1 1))
65 \property PianoStaff.noDirection = ##t
71 \context StaffGroup <<
74 \context PianoStaff = bassi_group \notes <<
75 \staffCombinePianoStaffProperties
76 \context Staff=oneBassi << \clef bass
77 \property Staff.instrument = #'(lines
78 "Violoncello" " e" "Contrabasso")
80 \property Staff.instr = #"Vc."
82 \context Staff=twoBassi << \clef bass
83 \property Staff.instrument = #"Contrabasso"
84 \property Staff.instr = #"Cb."
88 \context Staff=oneBassi \partcombine Staff
89 \context Voice=oneBassi { \violoncello }
90 \context Voice=twoBassi { \contrabasso }
96 linewidth = 80 * \staffspace
97 textheight = 200 * \staffspace
100 \consists "Rest_engraver"
102 % Set value for engraver at thread level,
103 % to override the default that is set in ScoreContext
104 % for added engraver at Voice level
109 \remove "Rest_engraver"
111 % The staff combine (bassi part) needs a
112 % thread_devnull_engraver here.
113 % Instead of maintaining two separate hierarchies,
114 % we switch add it, but switch it off immideately.
115 % The staff combine parts switch it on.
116 % devNullThread = #'never
117 \consists "Thread_devnull_engraver"
120 \RemoveEmptyStaffContext
121 \consists "Mark_engraver"
124 \OrchestralScoreContext
128 % By default, turn off the Thread_devnull_engraver
130 devNullThread = #'never
133 currentBarNumber = #218
134 BarNumber \override #'padding = #3
135 RestCollision \override #'maximum-rest-count = #1
136 marginScriptHorizontalAlignment = #1
137 TimeSignature \override #'style = #'C