Dear Lilyponders,

I have a problem with a certain, probably rare use case of an temporarily inserted Staff between two main staves (piano music)

[...]\new Staff \with { \override VerticalAxisGroup.staff-staff-spacing.padding } [...]

works well for adjusting the distance to the lower staff.

But I don't find a solution for adjusting the distance to the upper one.
Of course, I don't want to change the standard vertical spacing, when only the two main staves are used.

Any suggestions or workarounds?

Thank you for your help,

musicus
\version "2.19.34"

\paper {
  paper-width = 10\cm
  system-system-spacing.padding = 10
}

\score {
  \new PianoStaff
  <<
    \new Staff = "one" \relative c'' {
      a a a a
      \break
      a a
      <<
        { a a }
        \new Staff \with {
          alignAboveContext = "two"
          \override VerticalAxisGroup.staff-staff-spacing.padding = 1
        }\relative c'' {
          g g
        }
      >>      
      \break
      a a a a
    }
    \new Staff = "two" { 
      a a a a
      a a a a
      a a a a
    }
  >>
}
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to