lilypond-user
[Top][All Lists]
Advanced

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

Re: placement of tuplet number on broken tuplet


From: David Nalesnik
Subject: Re: placement of tuplet number on broken tuplet
Date: Tue, 18 Apr 2017 07:33:15 -0500

On Mon, Apr 17, 2017 at 8:26 PM, Andrew Bernard
<address@hidden> wrote:
> Hi David,
>
> I am curious about what you say here.
>
> On 18 April 2017 at 02:24, David Nalesnik <address@hidden> wrote:
>>
>>
>> It isn't possible to shift the number within the bracket and have the gap
>> adjust, but you can lengthen the broken bracket:
>>
>
> This is a function I use all the time, and it seems to work for me.
>
> tupletNumberShift =
> #(define-music-function (offset)
>    (number?)
>    " Move tuplet number across.
>    Offset is from left of tuplet bracket.
>    "
>    #{
>      \once \override TupletNumber.whiteout = ##t
>      \once \override Score.TupletNumber.layer = #3
>      \once \override TupletNumber.X-offset = $offset
>      \once \override TupletNumber.X-extent = #empty-interval
>    #})
>
> But this will only work for the first part. Are you actually saying, more
> precisely, that it is not possible to shift the number in the broken part? I
> was just wanting to clarify for anybody referring to this thread in the
> future.


No, I didn't say that.  You can certainly move the number, but the gap
in the bracket will not follow--hence the whiteout in your function.
(The number also will need some vertical adjustment when the bracket
slopes.)

As for independence at line breaks, you could plug your overrides into
the function I gave above,use \alterBroken, or use the framework
suggested at 
http://lilypond.org/doc/v2.19/Documentation/extending/difficult-tweaks.

David



reply via email to

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