[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cross-staff versions of \arpeggioArrowUp etc.
From: |
Joe Neeman |
Subject: |
Re: cross-staff versions of \arpeggioArrowUp etc. |
Date: |
Fri, 31 Jul 2009 19:13:15 -0700 |
On Fri, 2009-07-31 at 18:58 -0700, Mark Polesky wrote:
> Mark Polesky wrote:
>
> > Interesting idea. As a first attempt, I tried making the functionality
> > of the \arpeggioArrowUp command dependent on the 'connectArpeggios
> > context property, but obviously I'm doing something wrong. Does anyone
> > know why this doesn't work? Can anyone see how to make this work? If
> > not, are there other oppositions to my earlier solution of defining new
> > commands?
>
> I think I might have figured out how to make \arpeggioArrowUp and
> its kin select the appropriate context depending on whether
> 'connectArpeggios is set. Can someone look at this and check to
> make sure it's legit?
Have you tried using ly:context-property-where-defined instead of
searching for PianoStaff explicitly? There are non-PianoStaff contexts
containing Span_arpeggio_engraver, after all. Other than that, this is a
very cool trick!
Joe