On 10/5/2017 11:28 AM, Pierre-Luc Gauthier wrote:
Hi there,

How can we set the distance of a given staff over another.
For instance, in an ossia situation, where the ossia adds lots of
unwanted vertical space.



Hello,

Does this code work for what you need? I just played with the padding amount (1, 2, 1.5, etc)

%%%%%%%%%%%%
\new Staff = "someStaff" \relative c' \new Voice {
  \repeat unfold 32 {c8 d}
  <<
    {c d e f g a b c |}
    \new Staff \with {
      \remove "Time_signature_engraver"
      \remove "Clef_engraver"
      alignAboveContext = #"someStaff"
      \magnifyStaff #1/3
     \override VerticalAxisGroup #'default-staff-staff-spacing = #'(
(basic-distance . 0)
(minimum-distance . 0)
(padding . 1.5)
(stretchability . 90)
)

    }\relative c'' {c8 b a g f e d c\stopStaff}
  >>
  \repeat unfold 32 {c8 d}
}

%%%%%%%%%%%%%
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to