]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/vertical-extent.ly
Fix and elaborate on input/test/vertical-extent.ly (Thanks Mats).
[lilypond.git] / input / test / vertical-extent.ly
index 5994df7ba52d3833299bd1eb73150cda0d2a1e11..1d8aa9d366a5d6bfc0de93f586ef3db987da6f92 100644 (file)
@@ -1,5 +1,7 @@
-\version "2.7.14"
+\version "2.7.39"
 % TODO: huh?  what's this file about?  -gp
+% This file shows that Staffs can get a very deep or high; there is a lot
+% of room between the staffs. 
 
 \header { texidoc = "
 Vertical extents may increased by setting @code{\override VerticalAxisGroup #'minimum-Y-extent}, 
@@ -10,18 +12,26 @@ Vertical extents may increased by setting @code{\override VerticalAxisGroup #'mi
 \score {
     <<
     \new Staff {
-      \set Staff.verticalExtent = #'(-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.verticalExtent = #'(-0.0 . 15.0)
       \clef alto
-      g1
+      \override Staff.VerticalAxisGroup #'Y-extent = #'(-0.0 . 10.0)
+      d1^"10-high staff"
     }
   >>
   \layout{
-      raggedright = ##t
+      ragged-right = ##t
   }
 }