> This is the last measure of the second Samuel Barber 'Hermit songs'
> 
> I know it is quite a bit of code, but couldn't think of a way to
> make it less. My problem arrises with the last treble clef and the
> connected arpeggio.  I've tried to move the clef out of the
> way. Even replacing it for a markup glyph. There must be a way
> though to solve this.

This is issue #601

  https://gitlab.com/lilypond/lilypond/-/work_items/601  ,

and it also gives a solution: before the problematic arpeggio, insert

```
\once \override Arpeggio.extra-spacing-height = #'(-inf.0 . +inf.0)
```


    Werner


================================================================================


\version "2.26.0"

\layout {
  \context {
    \Voice
    \consists "Melody_engraver"
    \override Stem.neutral-direction = #'()
  }
}

global = {
  \key c \major
  \time 3/2
  \omit Score.TimeSignature
}

right = \relative c'' {
  \global
  <e fis ais dis>2\arpeggio <e, a>
  \once \override Arpeggio.extra-spacing-height = #'(-inf.0 . +inf.0)
  <e' fis! ais! dis!>2\arpeggio
  \fine |
}

leftOne = \relative c' {
  \global
  <b gis' c>2\arpeggio <c, f!>
  \set Score.connectArpeggios = ##t
  <b' gis' c>2\arpeggio
}

leftTwo = \relative c' {
  \global
  \clef treble c,4\rest   \clef bass d,! c,\rest
  des'  \clef treble c'\rest \clef bass f,,!  \fine
}

\score {
  \new PianoStaff <<
    \new Staff = "right" \with {
      midiInstrument = "acoustic grand"
    } \right
    \new Staff = "left" \with {
      midiInstrument = "acoustic grand"
    } { \clef treble << \leftOne \\ \leftTwo >> }
  >>

}

Reply via email to