[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Cross staff stem spacing with proportional notation
From: |
David Nalesnik |
Subject: |
Re: Cross staff stem spacing with proportional notation |
Date: |
Mon, 13 Mar 2017 10:19:57 -0500 |
Hi again,
On Mon, Mar 13, 2017 at 10:15 AM, David Kastrup <address@hidden> wrote:
> David Nalesnik <address@hidden> writes:
>
>> Oh, there's some extra code. I decided to use a flag to avoid
>> redundant calculations, but didn't follow through. The music function
>> should read
>>
>> spaceStemsEvenly =
>> #(define-music-function (mus) (ly:music?)
>> #{
>> \override NoteColumn.X-offset = #space-by-stems
>> #mus
>> \revert NoteColumn.X-offset
>> #})
>
> This looks like it should rather be \temporary \override in order not to
> interfere with preexisting settings in the context.
>
> --
> David Kastrup
I've attached a version which updates the music function based on
David Kastrup's suggestion above.
Also, since it's certainly more convenient for you to wrap large
chunks of music in the music function, the attached checks for
cross-staff beaming.
DN
even-stems.ly
Description: Text Data