[prev in list] [next in list] [prev in thread] [next in thread]
List: lilypond-user
Subject: Re: Arrow on arpeggio across voices possible?
From: Xavier Scheuer <x.scheuer () gmail ! com>
Date: 2010-07-27 8:49:09
Message-ID: AANLkTikud2OVM-qhfkUGgue3dObjfLECpyknB9nap+R5 () mail ! gmail ! com
[Download RAW message or body]
2010/7/27 Nick Payne <nick.payne@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.scheuer@gmail.com>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic