]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/spacing/alignment-vertical-spacing.ly
29d8981589f0e7dc97879a4149d27a8f8343b048
[lilypond.git] / input / lsr / spacing / alignment-vertical-spacing.ly
1 \version "2.10.12"
2
3 \header { texidoc = "
4 By setting properties in @code{NonMusicalPaperColumn}, vertical spacing
5 of alignments can be adjusted per system.
6
7 By setting @code{alignment-extra-space} or
8 @code{fixed-alignment-extra-space} an individual system may be
9 stretched vertically.
10
11 For technical reasons, @code{\overrideProperty} has to be used for
12 setting properties on individual objects.  @code{\override} in a
13 @code{\context} block may still be used for global overrides. 
14 " }
15
16 #(set-global-staff-size 13)
17
18 \relative c''
19 \new StaffGroup <<
20   \new Staff {
21     c1\break 
22     c\break 
23     c\break
24   }
25   \new Staff { 
26     c1 c c 
27   }
28   \new PianoStaff <<
29     \new Voice  {
30       \set PianoStaff.instrumentName = #"piano"
31       \set PianoStaff.shortInstrumentName = #"pn"
32       c1_"normal"
33       
34       \overrideProperty
35         #"Score.NonMusicalPaperColumn"
36         #'line-break-system-details
37         #'((fixed-alignment-extra-space . 15))
38       c_"fixed-aligment-extra-space"
39
40       \overrideProperty
41         #"Score.NonMusicalPaperColumn"
42         #'line-break-system-details
43         #'((alignment-extra-space . 15))
44       c_"aligment-extra-space"
45     }
46     { c1 c c }
47   >>
48 >>
49
50