]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/vertical-extent.ly
Fix #362 (2)
[lilypond.git] / input / test / vertical-extent.ly
index a56738e0fa4cab4f30079dbc187fcdb863d5529d..b46f3ac123db60b2faaabad89941c3b7277cb3fd 100644 (file)
@@ -1,23 +1,33 @@
-\version "2.7.39"
+\version "2.10.0"
 % TODO: huh?  what's this file about?  -gp
+% This file shows that Staff grobs can get very deep or high; there is a lot
+% of room between the staves. 
 
 \header { texidoc = "
 Vertical extents may increased by setting @code{\override VerticalAxisGroup #'minimum-Y-extent}, 
-@code{extraVerticalExtent}, and @code{verticalExtent}. In this example,
-@code{verticalExtent} is increased.
+@code{extra-Y-extent}, and @code{Y-extent}. In this example,
+@code{Y-extent} is increased.
 " }
 
 \score {
     <<
     \new Staff {
-      \set Staff.VerticalAxisGroup = #'(-15.0 . 0.0)
+      \override Staff.VerticalAxisGroup #'Y-extent = #'(-15.0 . 0.0)
+      \clef alto
+      a1^"15-deep staff"
+    }
+    \new Staff {
+      \clef alto
+      b1
+    }
+    \new Staff {
       \clef alto
       c1
     }
     \new Staff {
-      \set Staff.VerticalAxisGroup = #'(-0.0 . 15.0)
       \clef alto
-      g1
+      \override Staff.VerticalAxisGroup #'Y-extent = #'(-0.0 . 10.0)
+      d1^"10-high staff"
     }
   >>
   \layout{