]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/page-spacing-nonstaff-lines-independent.ly
Merge remote-tracking branch 'origin/translation'
[lilypond.git] / input / regression / page-spacing-nonstaff-lines-independent.ly
1 \version "2.19.2"
2
3 \header {
4   texidoc = "Spacing rules between Staves coexist with rules affecting
5 non-staff lines.  Here, the @code{padding} separating items on different
6 staves is larger than the @code{padding} for associated lyrics."
7 }
8
9 <<
10   \new Staff { c''2 c }
11   \addlyrics { high \skip2 }
12   \new Staff = "bass" \new Voice = "b" { \clef bass c2 c' }
13   \new Lyrics \with {
14     alignAboveContext = "bass"
15   } \lyricsto "b" { bass \skip2 }
16 >>
17 \layout {
18   \context {
19     \Lyrics
20     \override VerticalAxisGroup.nonstaff-relatedstaff-spacing = #'((padding . 0.2))
21   } \context {
22     \Staff
23     \override VerticalAxisGroup.default-staff-staff-spacing = #'((padding . 4))
24   }
25 }