+\version "2.10.0"
+% TODO: huh? what's this file about? -gp
+% This file shows that Staff grobs can get very deep or high; there is a lot
+% of room between the staves.
-\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.7.6"
+\header { texidoc = "
+Vertical extents may increased by setting @code{\override VerticalAxisGroup #'minimum-Y-extent},
+@code{extra-Y-extent}, and @code{Y-extent}. In this example,
+@code{Y-extent} is increased.
+" }
\score {
- \notes <
- \context Staff = upper {
- \property Staff.verticalExtent = #'(-15.0 . 0.0)
+ <<
+ \new Staff {
+ \override Staff.VerticalAxisGroup #'Y-extent = #'(-15.0 . 0.0)
+ \clef alto
+ a1^"15-deep staff"
+ }
+ \new Staff {
\clef alto
- c1 \break c1
+ b1
}
- \context Staff = lower {
- \property Staff.verticalExtent = #'(-0.0 . 15.0)
+ \new Staff {
\clef alto
- g1 \break g1
+ c1
}
- >
- \paper{
- interscoreline = 13.0\mm
- interscorelinefill = 0
- \translator{\ScoreContext \remove "Bar_number_engraver"}
- \translator{\StaffContext minimumVerticalExtent = #'(-2.0 . 2.0)}
+ \new Staff {
+ \clef alto
+ \override Staff.VerticalAxisGroup #'Y-extent = #'(-0.0 . 10.0)
+ d1^"10-high staff"
+ }
+ >>
+ \layout{
+ ragged-right = ##t
}
}
-%% new-chords-done %%
+