7 Container By splitting the grouping (Axis_group_engraver) and creation
8 functionality into separate contexts, you can override interesting
11 Notation like this is used in modern scores. Note that LilyPond is not
12 especially prepared for it: the clefs and time-signatures don't do
13 what you would expect.
22 %% s4 would create a staff.
24 quarterSkip = #(make-nonevent-skip (ly:make-duration 2 0))
27 \notes \relative c'' <
28 \context StaffContainer = SA {
30 %% need < >, otherwise we descend to the voice inside SA
31 < \context Staff = SA { c4 c4 } >
34 < \context Staff = SB { b4 b4 } >
36 \context StaffContainer =SB {
38 < \context Staff { e d f } >
46 \accepts StaffContainer
50 \type Engraver_group_engraver
51 \consists Clef_engraver
52 \consists Time_signature_engraver
53 \consistsend "Axis_group_engraver"
60 \remove Axis_group_engraver
62 \remove Time_signature_engraver