]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/vertical-extent.ly
* Documentation/user/lilypond-book.itely
[lilypond.git] / input / test / vertical-extent.ly
index d961cbfdf34c9d6302d3c0b8e8c6235e9b3c2f90..290d4feff83e1d8f002d8fd63438580fd7c2f397 100644 (file)
@@ -1,22 +1,28 @@
+\version "1.9.8"
+% TODO: huh?  what's this file about?  -gp
 
+\header { texidoc = "
+Vertical extents may be overriden by
+minimumVerticalExtent, extraVerticalExtent, and  verticalExtent. These are
+normal property values, and are written into the grob when the
+associated context finishes, so using it in \property works.
+" }
 
 \score {
-  \notes  <
-    \context Staff = upper {
-      \property Staff.StaffVerticalExtent = #'(-15.0 . 0.0)
-      \clef alto;
-      c1 \break c1 
+  \notes  <<
+    \new Staff {
+      \property Staff.verticalExtent = #'(-15.0 . 0.0)
+      \clef alto
+      c1
     }
-    \context Staff = lower {
-      \property Staff.StaffVerticalExtent = #'(-0.0 . 15.0)
-      \clef alto;
-      g1 \break g1 
+    \new Staff {
+      \property Staff.verticalExtent = #'(-0.0 . 15.0)
+      \clef alto
+      g1
     }
-  >
+  >>
   \paper{
-    interscoreline = 13.0\mm;
-    interscorelinefill = 0;
-    \translator{\ScoreContext \remove "Bar_number_engraver";}
-    \translator{\StaffContext StaffMinimumVerticalExtent = #'(-2.0 . 2.0)}
+      raggedright = ##t
   }
 }
+