]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/page-spacing-staff-group-nested.ly
Imported Upstream version 2.14.2
[lilypond.git] / input / regression / page-spacing-staff-group-nested.ly
diff --git a/input/regression/page-spacing-staff-group-nested.ly b/input/regression/page-spacing-staff-group-nested.ly
new file mode 100644 (file)
index 0000000..0512020
--- /dev/null
@@ -0,0 +1,32 @@
+\version "2.14.0"
+
+\header {
+  texidoc = "StaffGroups can be nested, in which case the inner StaffGroup wins."
+}
+
+\score {
+ <<
+   \new StaffGroup \with {
+     \override StaffGrouper #'staffgroup-staff-spacing #'basic-distance = #15
+   }
+   <<
+     \new Staff {
+       c'1
+     }
+     \new StaffGroup \with {
+       \override StaffGrouper #'staffgroup-staff-spacing #'basic-distance = #20
+     } <<
+       \new Staff {
+         c'1
+       }
+       \new Staff {
+         c'1
+       }
+     >>
+     \new Staff {
+       c'1
+     }
+   >>
+ >>
+}
+