lilypond-user
[Top][All Lists]
Advanced

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

Re: Cross-staff tie interferes with staff spacing


From: Engraver
Subject: Re: Cross-staff tie interferes with staff spacing
Date: Sun, 09 Apr 2017 08:36:54 +0200
User-agent: AquaMail/1.6.2.9 (build: 27000209)


I think the problem is the cross-staff tie itself. Without the \shape line it is drawn above the right-hand staff, but the inner workings of lilypond somehow 'remember' the original starting point, i.e. above the left hand staff. If you use the \shape line to visually lower the starting point of the tie, you lower the original starting point of the tie as well, hence pushing the pedal staff down.

Perhaps it's better to mimic the cross-staff tie with a cross-staff slur.

Regards,
Auke




Op 7 april 2017 19:01:13 schreef DJF <address@hidden>:

I’ve got a cross-staff tie in an organ piece which appears to be responsible for adding unwanted space between the L.H. staff and the Pedal staff. If I comment out the \shape line, the spacing then conforms as expected, using the values in the second VerticalAxisGroup block, but then the tie goes way up above the R.H. staff.

There are a few programming errors in the log: “My pure_y_common is a VerticalAlignment, which might contain several staves” and “Some of my vertical-skyline-elements are outside my VerticalAxisGroup”.

I have a suspicion that I may be going about this (staff spacing) in a way which is not ideal, but it’s what I’ve been using and it largely works. I’ll happily take any comments on that, but my primary concern at present is getting the tie in the right place, and, at the same time, having the proper spacing to the Pedal staff. I’d be grateful for any advice.

-- Dan



\version "2.19.58"

rightOne = \relative c' {
   <c a'>4 g' fis
}

leftOne = \relative c {
  \shape #'((-0.8 . -12.0) (-0.8 . -11.0) (-1.9 . -10.0) (-0.7 . -7.0)) Tie
  <e a~> \change Staff = "right" \stemDown a2
}

pedal = \relative c {
  a4 b2
}

\score {
  <<
\new PianoStaff \with { \remove "Vertical_align_engraver" } % removes extra space before pedal staff
    <<
      \new Staff = "right" \with  {
        \override VerticalAxisGroup.default-staff-staff-spacing =
    #'((basic-distance . 12.3)
       (minimum-distance . 9)
       (padding . 1)
       (stretchability . 15)) } % section above controls spacing between hands
      { \rightOne }

    \new Staff = "left" \with  {
        \override VerticalAxisGroup.default-staff-staff-spacing =
    #'((basic-distance . 9.5)
       (minimum-distance . 7.0)
       (padding . 0)
       (stretchability . 0)) } % section above controls spacing between LH and 
pedal
    { \clef bass \leftOne }
    >>
      \new Staff = "pedal" { \clef bass \pedal }
  >>
}
_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user





reply via email to

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