]> git.donarmstrong.com Git - lilypond.git/blob - input/test/nested-groups.ly
1fe75165a7185e4c1923f812c3e22f6a770e2711
[lilypond.git] / input / test / nested-groups.ly
1 \version "1.9.4" 
2
3 \header{ texidoc="@cindex Nested Staff Groups
4 LilyPond can print nested groups of staffs. "
5
6 %   old texidoc; it sounds like a testing comment, rather than an "example" comment.
7 %In InnerStaffGroup and InnerChoirStaff, the brackets should be shiftet leftwards.
8 }
9
10 \score { \notes
11 <<
12   \new StaffGroup << 
13   \new Staff {c' d' e' f'}
14   \new InnerStaffGroup <<
15    \new Staff {c' d' e' f'}
16    \new GrandStaff <<
17      \new Staff {c' d' e' f'}
18      \new Staff {c' d' e' f'}
19    >>
20   \new Staff {c' d' e' f'}
21   >>
22   \new ChoirStaff <<
23    \new Staff {c' d' e' f'}
24     \new InnerStaffGroup <<
25      \new Staff {c' d' e' f'}
26     >>
27    \new Staff {c' d' e' f'}
28   >>
29   >>
30   \new ChoirStaff << 
31    \new Staff {c' d' e' f'}
32    \new InnerStaffGroup <<
33     \new Staff {c' d' e' f'}
34     \new Staff {c' d' e' f'}
35    >>
36    \new Staff {c' d' e' f'}
37   >>
38
39 >>
40
41  \paper { raggedright = ##t}
42 }
43