]> git.donarmstrong.com Git - lilypond.git/commitdiff
Fix and elaborate on input/test/vertical-extent.ly (Thanks Mats).
authorJan Nieuwenhuizen <janneke@gnu.org>
Mon, 30 Oct 2006 16:30:18 +0000 (17:30 +0100)
committerJan Nieuwenhuizen <janneke@gnu.org>
Mon, 30 Oct 2006 16:30:18 +0000 (17:30 +0100)
input/test/vertical-extent.ly

index a56738e0fa4cab4f30079dbc187fcdb863d5529d..1d8aa9d366a5d6bfc0de93f586ef3db987da6f92 100644 (file)
@@ -1,5 +1,7 @@
 \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,14 +12,22 @@ Vertical extents may increased by setting @code{\override VerticalAxisGroup #'mi
 \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{