lilypond-user
[Top][All Lists]
Advanced

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

Re: Outside-staff-priority and vertical order of grobs


From: Thomas Morley
Subject: Re: Outside-staff-priority and vertical order of grobs
Date: Mon, 9 Dec 2019 22:45:11 +0100

Am Mo., 9. Dez. 2019 um 18:00 Uhr schrieb Paolo Pr <address@hidden>:
>
>
>
> On Mon, Dec 9, 2019 at 5:38 PM Thomas Morley <address@hidden> wrote:
>>
>> Am Mo., 9. Dez. 2019 um 17:05 Uhr schrieb Paolo Pr <address@hidden>:
>> >
>
>
>>
>> > Is there a way to set the staff-padding property of a grob and preserve at 
>> > the same time the vertical order set with outside-staff-priority?
>>
>> Provoke collision by setting staff-padding of TupletBracket to the
>> same value and let LilyPond sort it.
>>
>
> Hello Thomas,
>
> This method, unfortunately, seems redundant, because I have to specify the 
> value for all the objects that are near the OttavaBracket. Instead, I wonder 
> if is there an automatic way to vertically order them, given that the order 
> is already set in the list of outside-staff-priority valuse.

And that's the misunderstanding.
The grob are only ordered following outside-staff-priority _if_
collisions would happen otherwise.
If you manually move grob4, in a way grob1/2/3 _can't_ collide with it
any longer then collision-avoidence following outside-staff-priority
happens only for grob1/2/3

> For example, if I have in the following vertical order (grob1 on the top, 
> grob4 on the bottom):
>
> grob1
> grob2
> grob3
> grob4
>
> ---------------------------
> ---------------------------
> ---------------------------
> ---------------------------
> ---------------------------
>
> I wonder if is there a way to shift grob4 vertically and automatically shift 
> grob1,2,3 as a consequence...

I'm not aware of such a possibility.

Cheers,
  Harm



reply via email to

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