]> git.donarmstrong.com Git - lilypond.git/blob - input/test/vertical-extent.ly
Merge branch 'origin' into master-hanwen
[lilypond.git] / input / test / vertical-extent.ly
1 \version "2.10.0"
2 % TODO: huh?  what's this file about?  -gp
3 % This file shows that Staffs can get a very deep or high; there is a lot
4 % of room between the staffs. 
5
6 \header { texidoc = "
7 Vertical extents may increased by setting @code{\override VerticalAxisGroup #'minimum-Y-extent}, 
8 @code{extra-Y-extent}, and @code{Y-extent}. In this example,
9 @code{Y-extent} is increased.
10 " }
11
12 \score {
13     <<
14     \new Staff {
15       \override Staff.VerticalAxisGroup #'Y-extent = #'(-15.0 . 0.0)
16       \clef alto
17       a1^"15-deep staff"
18     }
19     \new Staff {
20       \clef alto
21       b1
22     }
23     \new Staff {
24       \clef alto
25       c1
26     }
27     \new Staff {
28       \clef alto
29       \override Staff.VerticalAxisGroup #'Y-extent = #'(-0.0 . 10.0)
30       d1^"10-high staff"
31     }
32   >>
33   \layout{
34       ragged-right = ##t
35   }
36 }
37