]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/vertical-extent.ly
(texidoc): cleanup.
[lilypond.git] / input / test / vertical-extent.ly
index 485d7ab092b91efee5d25c69779f47cae6c2c97b..42e8a888b1a0f5483aaf010ed6a9ffb8e587b76a 100644 (file)
@@ -1,29 +1,27 @@
+\version "2.3.17"
+% TODO: huh?  what's this file about?  -gp
 
-\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.146"
+\header { texidoc = "
+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)
+    <<
+    \new Staff {
+      \set Staff.verticalExtent = #'(-15.0 . 0.0)
       \clef alto
-      c1 \break c1 
+      c1
     }
-    \context Staff = lower {
-      \property Staff.VerticalExtent = #'(-0.0 . 15.0)
+    \new Staff {
+      \set Staff.verticalExtent = #'(-0.0 . 15.0)
       \clef alto
-      g1 \break g1 
+      g1
     }
-  >
+  >>
   \paper{
-    interscoreline = 13.0\mm
-    interscorelinefill = 0
-    \translator{\ScoreContext \remove "Bar_number_engraver"}
-    \translator{\StaffContext MinimumVerticalExtent = #'(-2.0 . 2.0)}
+      raggedright = ##t
   }
 }
+