lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Ossia distance, unwanted vertical spacing.


From: Ben
Subject: Re: Ossia distance, unwanted vertical spacing.
Date: Thu, 5 Oct 2017 13:44:39 -0400
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0

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}
}

%%%%%%%%%%%%%

Attachment: ossia1.png
Description: PNG image


reply via email to

[Prev in Thread] Current Thread [Next in Thread]