lilypond-user
[Top][All Lists]
Advanced

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

Re: Y - offset problem on TupletBracket


From: Paolo Prete
Subject: Re: Y - offset problem on TupletBracket
Date: Wed, 5 Feb 2020 23:00:38 +0100



On Wed, Feb 5, 2020 at 10:32 PM David Kastrup <address@hidden> wrote:
Paolo Prete <address@hidden> writes:

> Hello,
>
> as you can test with the following snippet, TupletBracket doesn't take into
> account its direction when setting Y-offset (tested both on stable and
> 2.19.83 versions)
>
> {
> \once \override TupletBracket.direction = #UP
> \once \override TupletBracket.Y-offset = -20
> \tuplet 3/2 { c'''4 c'' c''}
> }
>
> Is there a fix (or a proper way to manage it) for this?

Possibly

\once \override TupletBracket.Y-offset = #(lambda (grob)
                                           (* -20
                                            (ly:grob-property grob 'direction)))

--

Hi David,
thanks, it works.
Should the case be reported as a bug or is it expected behavior?


reply via email to

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