]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/vertical-extent.ly
Fix #362 (2)
[lilypond.git] / input / test / vertical-extent.ly
index d961cbfdf34c9d6302d3c0b8e8c6235e9b3c2f90..b46f3ac123db60b2faaabad89941c3b7277cb3fd 100644 (file)
@@ -1,22 +1,37 @@
+\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{extra-Y-extent}, and @code{Y-extent}. In this example,
+@code{Y-extent} is increased.
+" }
 
 \score {
-  \notes  <
-    \context Staff = upper {
-      \property Staff.StaffVerticalExtent = #'(-15.0 . 0.0)
-      \clef alto;
-      c1 \break c1 
+    <<
+    \new Staff {
+      \override Staff.VerticalAxisGroup #'Y-extent = #'(-15.0 . 0.0)
+      \clef alto
+      a1^"15-deep staff"
     }
-    \context Staff = lower {
-      \property Staff.StaffVerticalExtent = #'(-0.0 . 15.0)
-      \clef alto;
-      g1 \break g1 
+    \new Staff {
+      \clef alto
+      b1
     }
-  >
-  \paper{
-    interscoreline = 13.0\mm;
-    interscorelinefill = 0;
-    \translator{\ScoreContext \remove "Bar_number_engraver";}
-    \translator{\StaffContext StaffMinimumVerticalExtent = #'(-2.0 . 2.0)}
+    \new Staff {
+      \clef alto
+      c1
+    }
+    \new Staff {
+      \clef alto
+      \override Staff.VerticalAxisGroup #'Y-extent = #'(-0.0 . 10.0)
+      d1^"10-high staff"
+    }
+  >>
+  \layout{
+      ragged-right = ##t
   }
 }
+