]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/vertical-extent.ly
* input/mutopia/W.A.Mozart/mozart-hrn-3.ly: Mozart died in 1791
[lilypond.git] / input / test / vertical-extent.ly
index bc390a1a1a6c4c5f410e347636ef59946ca921b9..251f97f328c9d3b4179dda5949fc6ada36074ba8 100644 (file)
@@ -1,26 +1,25 @@
-\version "1.9.1"
+\version "2.1.30"
 % 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.
+Vertical extents may increased by setting @code{minimumVerticalExtent}, 
+@code{extraVerticalExtent}, and @code{verticalExtent}. In this example,
+@code{verticalExtent} is increased.
 " }
 
 \score {
-  \notes  <
-    \context Staff = upper {
-      \property Staff.verticalExtent = #'(-15.0 . 0.0)
+  \notes  <<
+    \new Staff {
+      \set Staff.verticalExtent = #'(-15.0 . 0.0)
       \clef alto
       c1
     }
-    \context Staff = lower {
-      \property Staff.verticalExtent = #'(-0.0 . 15.0)
+    \new Staff {
+      \set Staff.verticalExtent = #'(-0.0 . 15.0)
       \clef alto
       g1
     }
-  >
+  >>
   \paper{
       raggedright = ##t
   }