-\version "1.7.18"
+\version "2.3.22"
-\score
-{
- \context StaffGroup = a <
- % this is broken until further notice -- see refman
- % \property Staff.StaffSymbol \override #'line-count = #4
- \context Staff \outputproperty #(make-type-checker 'staff-symbol-interface)
- #'line-count = #4
- \context PianoStaff = b <
- \context Staff = "c" \notes\relative c'' { b1 }
- \context Staff = "d" \notes\relative c'' { b1 }
- >
- >
+\header{ texidoc="@cindex Nested Staff Groups
+Staffs can be nested in various combinations. Here, @code{StaffGroup}
+and @code{ChoirStaff} produce similar straight brackets, whereas
+@code{GrandStaff} produces curly brackets. In @code{InnerStaffGroup}
+and @code{InnerChoirStaff}, the brackets are shifted leftwards.
- \paper {
- indent=100.0\mm
- linewidth=150.0\mm
- \translator
- {
- \StaffContext
- \consists Instrument_name_engraver
- }
- }
+"
}
-%% new-chords-done %%
+
+\score {
+<<
+ \new StaffGroup <<
+ \new Staff {c' d' e' f'}
+ \new InnerStaffGroup <<
+ \new Staff {c' d' e' f'}
+ \new GrandStaff <<
+ \new Staff {c' d' e' f'}
+ \new Staff {c' d' e' f'}
+ >>
+ \new Staff {c' d' e' f'}
+ >>
+ \new ChoirStaff <<
+ \new Staff {c' d' e' f'}
+ \new InnerStaffGroup <<
+ \new Staff {c' d' e' f'}
+ >>
+ \new Staff {c' d' e' f'}
+ >>
+ >>
+ \new ChoirStaff <<
+ \new Staff {c' d' e' f'}
+ \new InnerChoirStaff <<
+ \new Staff {c' d' e' f'}
+ \new Staff {c' d' e' f'}
+ >>
+ \new Staff {c' d' e' f'}
+ >>
+
+>>
+
+ \layout { raggedright = ##t}
+}
+