2010/7/27 Nick Payne <nick.pa...@internode.on.net>:

> The following doesn't add the arrow to the arpeggio. Can it be done?
>
> \version "2.13.28"
>
> \new Staff \with {
>  \consists "Span_arpeggio_engraver"
> }
> \relative c' {
>  \set Staff.connectArpeggios = ##t
> <<
>    \arpeggioArrowUp
>    { <e' g>4\arpeggio <d f> <d f>2 } \\
>    { <d, f>2\arpeggio <g b>2 }
>>>
> }

Hi!

This can be done.
If you start from the definition of "arpeggioArrowUp"
(in "ly/property-init.ly") but apply it to the Staff context, then it
adds the arrow to the arpeggio.

Cheers,
Xavier


\version "2.13.28"

\new Staff \with {
  \consists "Span_arpeggio_engraver"
}
{
  \relative c' {
    \set Staff.connectArpeggios = ##t
    <<
      % Equivalent to "arpeggioArrowUp", but applied to Staff
      \revert Staff.Arpeggio  #'stencil
      \revert Staff.Arpeggio #'X-extent
      \override Staff.Arpeggio  #'arpeggio-direction = #UP
      { <e' g>4\arpeggio <d f> <d f>2 } \\
      { <d, f>2\arpeggio <g b>2 }
    >>
  }
}


--
Xavier Scheuer <x.sche...@gmail.com>

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to