]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/vertical-extent.ly
* Documentation/user/latex-lilypond-example.latex:
[lilypond.git] / input / test / vertical-extent.ly
index 67e0a9b6536bece6319dcf48a3144b866eba860d..42e8a888b1a0f5483aaf010ed6a9ffb8e587b76a 100644 (file)
@@ -1,22 +1,21 @@
-\version "2.1.7"
+\version "2.3.17"
 % 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  <<
+    <<
     \new Staff {
-      \property Staff.verticalExtent = #'(-15.0 . 0.0)
+      \set Staff.verticalExtent = #'(-15.0 . 0.0)
       \clef alto
       c1
     }
     \new Staff {
-      \property Staff.verticalExtent = #'(-0.0 . 15.0)
+      \set Staff.verticalExtent = #'(-0.0 . 15.0)
       \clef alto
       g1
     }