]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/nested-groups.ly
* Documentation/user/lilypond-book.itely
[lilypond.git] / input / test / nested-groups.ly
index f2554cfe860a1cc237337d9c8dd2ac2bdd139de7..eabb1fa176162fd5d1291f492342eb7eceaeeda5 100644 (file)
@@ -1,42 +1,43 @@
-\version "1.7.18" 
+\version "1.9.8" 
 
-\header{
-texidoc="
-In InnerStaffGroup and InnerChoirStaff, the brackets should be shiftet leftwards.
-"
+\header{ texidoc="@cindex Nested Staff Groups
+LilyPond can print nested groups of staffs. "
+
+%   old texidoc; it sounds like a testing comment, rather than an "example" comment.
+%In InnerStaffGroup and InnerChoirStaff, the brackets should be shiftet leftwards.
 }
 
 \score { \notes
-<
-  \context StaffGroup = ga 
-  \context Staff = sb {c' d' e' f'}
-  \context InnerStaffGroup = isga <
-   \context Staff = sd {c' d' e' f'}
-   \context GrandStaff=gs <
-     \context Staff = sgsa {c' d' e' f'}
-     \context Staff = sgsb {c' d' e' f'}
-   >
-  \context Staff = sc {c' d' e' f'}
-  >
-  \context ChoirStaff = csa <
-   \context Staff = sd {c' d' e' f'}
-    \context InnerStaffGroup=gc <
-     \context Staff = sq {c' d' e' f'}
-    >
-   \context Staff = se {c' d' e' f'}
-  >
-  >
-  \context ChoirStaff = csb 
-   \context Staff = sg {c' d' e' f'}
-   \context InnerStaffGroup = isgb <
-    \context Staff = sh {c' d' e' f'}
-    \context Staff = si {c' d' e' f'}
-   >
-   \context Staff = sj {c' d' e' f'}
-  >
+<<
+  \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 InnerStaffGroup <<
+    \new Staff {c' d' e' f'}
+    \new Staff {c' d' e' f'}
+   >>
+   \new Staff {c' d' e' f'}
+  >>
 
->
+>>
 
  \paper { raggedright = ##t}
 }
-%% new-chords-done %%
+