[Top][All Lists]

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

Re: Shift up OttavaBracket

From: Paolo Prete
Subject: Re: Shift up OttavaBracket
Date: Mon, 13 Jan 2020 21:33:12 +0100

Does it mean that similar issues can happen with the same property applied to other grobs, like DynamicLineSpanner ?


On Mon, Jan 13, 2020 at 9:20 PM Carl Sorensen <address@hidden> wrote:

On 1/13/20, 12:25 PM, "Kieren MacMillan" <address@hidden> wrote:

    Hi Paolo (et al.),

    > Well, I investigated as well. I think that the only way to solve this is to use the combination
    > Y-offset + \offset + 2.19
    > As you can see, this seems to work in 2.19

    Not always: <>

I think this is due to the fact that the default value of  Y-offset is a unpure-pure-container procedure (see  ) so that it's an approximation, rather than an actual value.  This has at its heart the potential infinite loop I discussed earlier.  The default value isn't the *actual* finished position, it's an *estimated* finished position.

So offset applies to the *estimated* position, and then the spacing engine works on the offset+estimated postion and ends up putting things where it thinks they belong.  The slur is not part of the estimation, so the offset applies to the position absent the slur, and then the slur avoidance is added if needed.

At least, that's what I think is going on .


\version 2.19.83

   \ottava #1 c''''8\( 8\)\ottava #0
   \once \offset Y-offset 1.5 Staff.OttavaBracket   
   \ottava #1 c''''8 8 \ottava #0     
   \ottava #1 c''''8\( 8\)\ottava #0
   \once \offset Y-offset 1.5 Staff.OttavaBracket   
   \ottava #1 c''''8\( 8\)\ottava #0     

reply via email to

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