The only way I found of adding extra space before the arpeggiated chord in this example was to have a hidden voice with some notes to affect the spacing - I had a look at the manual section on horizontal spacing and tried a few things, but this was the only thing I tried that made a difference. Is this the only solution?

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\version "2.13.3"

treble = \relative c' {
   a4 cis\arpeggio |
g' cis, | }

bass = \relative c {
   <e a,>4 <a e a,>\arpeggio |
   <bes d, a> <a e a,> |
}

hidden = \relative c {
   \hideNotes c4 c
}

\score {
   <<
       \context Staff = guitar {
           \set Staff.connectArpeggios = ##t
           \clef "treble_8"
           \key d \minor
           \time 2/4
           <<
               \context Voice = "1" { \voiceOne \treble }
               \context Voice = "2" { \voiceTwo \bass }
               \context Voice = "3" { \voiceThree \hidden }
           >>
       }
   >>
   \layout {
       \context {
           \Staff
               \consists "Span_arpeggio_engraver"
       }
   }
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Nick Payne

<<inline: withouthidden.png>>

<<inline: withhidden.png>>

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

Reply via email to