]> git.donarmstrong.com Git - lilypond.git/blob - input/test/vertical-extent.ly
f6bcfa949a5e4a80fc3a4c832c08b9bc58653ecf
[lilypond.git] / input / test / vertical-extent.ly
1
2 \header { texidoc = "vertical extents may be overriden by
3 VerticalExtent, VerticalExtent, VerticalExtent. These are
4 normal property values, and are written itno the grob when the
5 associated context finishes, so using it in \property works.
6
7  "; }
8 \version "1.3.145";
9
10 \score {
11   \notes  <
12     \context Staff = upper {
13       \property Staff.VerticalExtent = #'(-15.0 . 0.0)
14       \clef alto;
15       c1 \break c1 
16     }
17     \context Staff = lower {
18       \property Staff.VerticalExtent = #'(-0.0 . 15.0)
19       \clef alto;
20       g1 \break g1 
21     }
22   >
23   \paper{
24     interscoreline = 13.0\mm;
25     interscorelinefill = 0;
26     \translator{\ScoreContext \remove "Bar_number_engraver";}
27     \translator{\StaffContext MinimumVerticalExtent = #'(-2.0 . 2.0)}
28   }
29 }