lilypond-user
[Top][All Lists]
Advanced

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

Re: Moving tuplet number


From: David Nalesnik
Subject: Re: Moving tuplet number
Date: Mon, 30 Mar 2015 10:06:26 -0500

Hi Andrew,

On Mon, Mar 30, 2015 at 9:11 AM, Andrew Bernard <address@hidden> wrote:
How can you move a tuplet number to a different position relative to the centre of the bracket, say 75% along rather than 50%?

I can use X-offset for the TupletNumber, but this reveals the gap in the bracket that is the room for the number. How does one move that as well?

Sorry, I don't believe that this is possible in any convenient way.   The routine that draws the tuplet bracket simply puts the gap halfway along, regardless of the number's position.  Fixing this would involve patching the C++ code.

You could instead write a Scheme callback for TupletBracket.stencil which would use the tuplet number's X-extent to determine the gap's position.  You'd of course have to reconstruct the bracket from scratch.

--David


reply via email to

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