lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Metronome mark not aligning correctly


From: David Kastrup
Subject: Re: Metronome mark not aligning correctly
Date: Fri, 05 Nov 2021 23:09:09 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Jean Abou Samra <jean@abou-samra.fr> writes:

> Le 05/11/2021 à 18:06, Knute Snortum a écrit :
>> I think I have found a bug, or at least an "ugly" behavior.  Consider
>> the following code:
>>
>> %%%
>> \version "2.22.1"
>>
>> rightHand = \relative {
>>    \tempo "Allegro"
>>    a'''16->-4( g f c  a g f c  a g f c  \change Staff = "lower" a g f c) |
>> }
>>
>> leftHand = \relative {
>>    \clef bass
>>    f,1 |
>> }
>>
>> \new PianoStaff <<
>>    \new Staff = "upper" \rightHand
>>    \new Staff = "lower" \leftHand
>> %%%
>>
>> (see attached picture)
>>
>> The metronome mark is aligned too low and collides with the accent
>> mark and the fingering number. Take out the slur and everything's
>> okay.  Same with the staff change.
>>
>> So two questions:  1) is a bug?
>
>
> Yes. It's somewhat like
> https://gitlab.com/lilypond/lilypond/-/issues/4432,
> and somewhat different at the same time.
> I'm not adding it to the tracker because
> we already have many similar bugs and it
> is amply clear by now that cross-staff handling
> will need a complete overhauling and not
> just localized fixes.

I think one change should be that cross-staff needs to be more than a
flag.  It rather needs to be a pair of staves identified in some manner
where distancing of any staff pairs in that interval will not involve
the cross-staff material, but it otherwise will contribute to the
outlines and dimensions, and particularly to the distancing from staves
outside of the cross-staffed interval.

-- 
David Kastrup



reply via email to

[Prev in Thread] Current Thread [Next in Thread]