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