]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/vertical-extent.ly
* scripts/convert-ly.py (conv): fixed \context Foo = mixedCaps
[lilypond.git] / input / test / vertical-extent.ly
index f35fd36ef2becb10cf4453b379e04511ee377305..a38c7c26c9a372ae1945dd565ab91ab2190febd4 100644 (file)
@@ -1,24 +1,27 @@
+\version "2.4.0"
+% TODO: huh?  what's this file about?  -gp
+
+\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.StaffVerticalExtent = #'(-15.0 . 0.0)
-      \clef alto;
-      c1 \break c1 
+    <<
+    \new Staff {
+      \set 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 {
+      \set Staff.verticalExtent = #'(-0.0 . 15.0)
+      \clef alto
+      g1
     }
-  >
-  \paper{
-    interscoreline = "3.0mm";
-
-%    % Alternative to fill the pages with evenly distributed score lines:
-%    interscoreline = "3.0mm plus 1fill";
-
-    \translator{\ScoreContext \remove "Bar_number_engraver";}
-    \translator{\StaffContext StaffMinimumVerticalExtent = #'(-2.0 . 2.0)}
+  >>
+  \layout{
+      raggedright = ##t
   }
 }
+