5

I have a music passage that crosses from the bottom staff to the top (in a Grand Staff) with a slur. But, I want the slur to go from above the notes on the bottom to underneath the note on the top staff. Is this possible in Lilypond (version 2.18.2)? How about 2.19.x?

In the below image, the top example is what I want, but the bottom example is what I get with Lilypond (typesetting code below the image).

enter image description here

\score
{
  \new GrandStaff
  {
    <<
      \new Staff="up"
      {
        \clef treble
        \time 3/4
        \relative c'
        {
          R1*3/4*2
          s1*3/4
        }
      }
      \new Staff="down"
      {
        \clef bass
        \time 3/4
        \relative c,
        {
          r4 c4^(^\pp g'
          c g' c
          <<
            { \voiceOne
              \change Staff="up" e4) b'4\rest b4\rest
            }
            \new Voice
            { \voiceTwo
              s4 d,,1*1/4\rest s4
            }
          >>
        }
      }
    >>
  }
}

1 Answer 1

6

Control points can be overridden. The pairs here are x,y coordinates:

      \version "2.19.80"
      % ...
      r4 
      \once\override Slur.extra-offset = #'(0 . 6)
      \once\override Slur.control-points =
      #'((1 . -6) (4 . 1) (13 . -6) (18.5 . 0.5))
      c4^(^\pp g'
      % etc

and give the image below which can obviously be improved with more work: enter image description here

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.