]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/alignment-vertical-spacing.ly
Fix #129, #228, #7
[lilypond.git] / input / regression / alignment-vertical-spacing.ly
1
2 \header {
3
4   texidoc = "By setting properties in @code{NonMusicalPaperColumn}, vertical
5 spacing 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 object. @code{\override} in a
13 @code{\context} block may still be used for global overrides.
14
15 "
16
17 }
18
19 \version "2.10.0"
20
21 #(set-global-staff-size 13)
22
23 \relative c''
24 \new StaffGroup <<
25   \new Staff {
26     c1\break 
27     c\break c\break
28   }
29   \new Staff { c1 c c }
30   \new PianoStaff <<
31     \new Voice  {
32       \set PianoStaff.instrumentName = #"piano"
33       \set PianoStaff.shortInstrumentName = #"pn"
34       c1_"normal"
35       
36       \overrideProperty
37       #"Score.NonMusicalPaperColumn"
38       #'line-break-system-details
39       #'((fixed-alignment-extra-space . 15))
40       c_"fixed-aligment-extra-space"
41
42       \overrideProperty
43       #"Score.NonMusicalPaperColumn"
44       #'line-break-system-details
45       #'((alignment-extra-space . 15))
46       c_"aligment-extra-space"
47     }
48     { c1 c c }
49   >>
50 >>
51