[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Y - offset problem on TupletBracket
From: |
David Kastrup |
Subject: |
Re: Y - offset problem on TupletBracket |
Date: |
Wed, 05 Feb 2020 22:32:28 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
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)))
--
David Kastrup