]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/vertical-extent.ly
release: 1.3.145
[lilypond.git] / input / test / vertical-extent.ly
index d961cbfdf34c9d6302d3c0b8e8c6235e9b3c2f90..f6bcfa949a5e4a80fc3a4c832c08b9bc58653ecf 100644 (file)
@@ -1,14 +1,21 @@
 
+\header { texidoc = "vertical extents may be overriden by
+VerticalExtent, VerticalExtent, VerticalExtent. These are
+normal property values, and are written itno the grob when the
+associated context finishes, so using it in \property works.
+
+ "; }
+\version "1.3.145";
 
 \score {
   \notes  <
     \context Staff = upper {
-      \property Staff.StaffVerticalExtent = #'(-15.0 . 0.0)
+      \property Staff.VerticalExtent = #'(-15.0 . 0.0)
       \clef alto;
       c1 \break c1 
     }
     \context Staff = lower {
-      \property Staff.StaffVerticalExtent = #'(-0.0 . 15.0)
+      \property Staff.VerticalExtent = #'(-0.0 . 15.0)
       \clef alto;
       g1 \break g1 
     }
@@ -17,6 +24,6 @@
     interscoreline = 13.0\mm;
     interscorelinefill = 0;
     \translator{\ScoreContext \remove "Bar_number_engraver";}
-    \translator{\StaffContext StaffMinimumVerticalExtent = #'(-2.0 . 2.0)}
+    \translator{\StaffContext MinimumVerticalExtent = #'(-2.0 . 2.0)}
   }
 }