]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/vertical-extent.ly
Merge branch 'origin' of /home/lilydev/vc/gub/downloads/lilypond into master-hanwen
[lilypond.git] / input / test / vertical-extent.ly
index f35fd36ef2becb10cf4453b379e04511ee377305..a56738e0fa4cab4f30079dbc187fcdb863d5529d 100644 (file)
@@ -1,24 +1,27 @@
+\version "2.7.39"
+% TODO: huh?  what's this file about?  -gp
+
+\header { texidoc = "
+Vertical extents may increased by setting @code{\override VerticalAxisGroup #'minimum-Y-extent}, 
+@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.VerticalAxisGroup = #'(-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.VerticalAxisGroup = #'(-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{
+      ragged-right = ##t
   }
 }
+