]> git.donarmstrong.com Git - lilypond.git/blob - input/test/staff-bracket.ly
217f9525300420d96ff197bad64a1d3fa4b5c600
[lilypond.git] / input / test / staff-bracket.ly
1 \version "2.10.0" 
2
3 \header{
4   texidoc="@cindex Nested Staff Groups
5 Staves can be nested in various combinations.  Here, @code{StaffGroup}
6 and @code{ChoirStaff} produce similar straight brackets, whereas 
7 @code{GrandStaff} produces curly brackets.  In @code{InnerStaffGroup} 
8 and @code{InnerChoirStaff}, the brackets are shifted leftwards."
9 }
10
11 \score { 
12 <<
13   \new StaffGroup << 
14   \new Staff {c' d' e' f'}
15   \new InnerStaffGroup <<
16    \new Staff {c' d' e' f'}
17    \new GrandStaff <<
18      \new Staff {c' d' e' f'}
19      \new Staff {c' d' e' f'}
20    >>
21   \new Staff {c' d' e' f'}
22   >>
23   \new ChoirStaff <<
24    \new Staff {c' d' e' f'}
25     \new InnerStaffGroup <<
26      \new Staff {c' d' e' f'}
27     >>
28    \new Staff {c' d' e' f'}
29   >>
30   >>
31   \new ChoirStaff << 
32    \new Staff {c' d' e' f'}
33    \new InnerChoirStaff <<
34     \new Staff {c' d' e' f'}
35     \new Staff {c' d' e' f'}
36    >>
37    \new Staff {c' d' e' f'}
38   >>
39
40 >>
41
42  \layout { ragged-right = ##t}
43 }
44