Kieren MacMillan writes:
> Hi David,
>
>> I admit that I went for another dive into the IR for TupletBracket when
>> outside-staff-priority failed to do the trick. Turns out that
>> outside-staff-interface should be #f by default anyway?
>
> Please elaborate:
> You believe the default is incorre
Le 26/11/2021 à 16:19, Lukas-Fabian Moser a écrit :
I never really understood the outside-staff behaviour, to be honest.
If it seems complicated, that's because it is. There
are two mechanisms for general collision avoidance,
incarnated in the side-position-interface and the
outside-staff-inter
Hi David,
> I admit that I went for another dive into the IR for TupletBracket when
> outside-staff-priority failed to do the trick. Turns out that
> outside-staff-interface should be #f by default anyway?
Please elaborate:
You believe the default is incorrect (in which case I will work up a pat
Kieren MacMillan writes:
> Hi all,
>
>>> I never really understood the outside-staff behaviour, to be
>>> honest. It's well possible that there's an elegant solution that just
>>> tells LilyPond to go ahead and put the tuplet bracket into the staff.
>> Uh, that's what setting outside-staff-priori
>> Well, you got the wrong property here. outside-staff-priority
>> tells how to stack outside-staff objects with one another. What
>> you need here is
>>
>> \override CueVoice.TupletBracket.staff-padding = ##f
Aah, I only tried `padding` to no avail. Thanks a lot!
> So, Werner, this sh
Hi all,
>> I never really understood the outside-staff behaviour, to be
>> honest. It's well possible that there's an elegant solution that just
>> tells LilyPond to go ahead and put the tuplet bracket into the staff.
> Uh, that's what setting outside-staff-priority to #f does.
Uh, that was the f
Well, you got the wrong property here. outside-staff-priority tells how
to stack outside-staff objects with one another. What you need here is
\override CueVoice.TupletBracket.staff-padding = ##f
to stop TupletBracket from being shy of the staff itself, never mind
other outside-staff o
Lukas-Fabian Moser writes:
>>> I never really understood the outside-staff behaviour, to be
>>> honest. It's well possible that there's an elegant solution that just
>>> tells LilyPond to go ahead and put the tuplet bracket into the staff.
>> Uh, that's what setting outside-staff-priority to #f d
Lukas-Fabian Moser writes:
>>> For a general solution, one could probably write a callback for the
>> positions property.
>> I was hoping to use #'outside-staff-priority to try to allow the
>> tuplet to float into the staff automatically, but gave up after a
>> few minutes of not finding the righ
I never really understood the outside-staff behaviour, to be
honest. It's well possible that there's an elegant solution that just
tells LilyPond to go ahead and put the tuplet bracket into the staff.
Uh, that's what setting outside-staff-priority to #f does.
Did I mention I never really unde
>> For a general solution, one could probably write a callback for the
>> positions property.
>
> I was hoping to use #'outside-staff-priority to try to allow the
> tuplet to float into the staff automatically, [...]
Me too.
Werner
>>\override CueVoice.TupletBracket.direction = #DOWN
>>\override CueVoice.TupletBracket.edge-height = #'(-0.7 . -0.7)
>>\override CueVoice.TupletBracket.extra-offset = #'(0 . 4.75)
>>\override CueVoice.TupletNumber.extra-offset = #'(0 . 4.75)
>
> Hold the heavy machinery :-). You
For a general solution, one could probably write a callback for the positions
property.
I was hoping to use #'outside-staff-priority to try to allow the tuplet to
float into the staff automatically, but gave up after a few minutes of not
finding the right incantation…
I never really understo
Hi Lukas,
> Hold the heavy machinery :-)
LOL
> You can just set the positions directly:
Nice.
> For a general solution, one could probably write a callback for the positions
> property.
I was hoping to use #'outside-staff-priority to try to allow the tuplet to
float into the staff automati
Hi Kieren & Werner,
There's surely a more elegant way… but if you're stuck, you can always hack it:
x = { r2 \tuplet 3/2 { g4 a b } }
\addQuote "qx" \x
{
r2 \cueDuring #"qx" #DOWN {
\override CueVoice.TupletBracket.direction = #DOWN
\override CueVoice.TupletBracket.edge-height =
>> What must I do to make the tuplet bracket be positioned within the
>> staff, that is, below the rest?
>
> There's surely a more elegant way… but if you're stuck, you can
> always hack it: [...]
Thanks a lot! Of course I would like to have a solution that avoids
`extra-offset` :-)
> x = { r
Hi Werner,
> What must I do to make the tuplet bracket be positioned
> within the staff, that is, below the rest?
There's surely a more elegant way… but if you're stuck, you can always hack it:
x = { r2 \tuplet 3/2 { g4 a b } }
\addQuote "qx" \x
{
r2 \cueDuring #"qx" #DOWN {
\override Cu
17 matches
Mail list logo