Am Di., 22. Juli 2025 um 02:35 Uhr schrieb Knute Snortum <ksnor...@gmail.com>:
>
> Sometimes the simplest solution is the best! I'll give that a try.
>
>
> --
> Knute Snortum
>
>
> On Mon, Jul 21, 2025, 5:24 PM Kieren MacMillan <kie...@kierenmacmillan.info> 
> wrote:
>>
>> Hi Knute,
>>
>> > I have a situation where LilyPond doesn't do a good job with tuplet 
>> > bracket lengths.  To fix this, I was thinking of using \tweak 
>> > TupletBracket.X-positions, but when there is more than one bracket, this 
>> > tweak affects them all the same.  I want to find a way to tell lilyPond 
>> > how to engrave the second bracket correctly.
>>
>> Split the brackets…?
>>
>> %%% Begin
>> \version "2.24.4"
>>
>> \relative {
>>   \key g \minor
>>   \clef bass
>>   \time 12/8
>>   \set subdivideBeams = ##t
>>   \tupletDown
>>   g,4.(~ g8
>>     % Comment the tweak to see the problem I'm trying to solve.
>>     % Tweak affects both brackets, how do I affect the second separately?
>>     \tuplet 3/2 { a16 bes c  } \tweak TupletBracket.X-positions #'(0.5 . 
>> 4.5) \tuplet 3/2 { d e fis } g8) c c  c c c |
>>   % Just filler to crowd the first measure
>>   c8 c c  c c c  c c c  c c c |
>>   c8 c c  c c c  c c c  c c c |
>> }
>> %%% End
>>
>> Hope that helps!
>> Kieren.
>>
>> __________________________________________________
>>
>> My work day may look different than your work day. Please do not feel 
>> obligated to read or respond to this email outside of your normal working 
>> hours.
>>

How about:

\version "2.24.4"

\relative {
  \key g \minor
  \clef bass
  \time 12/8
  \set subdivideBeams = ##t
  \tupletDown
  g,4.(~ g8
    \override TupletBracket.shorten-pair = #'(0 . 0) %% default: '(-0.2 . -0.2)
    \tuplet 3/2 8 { a16 bes c  d e fis } g8) c c  c c c |
  % Just filler to crowd the first measure
  c8 c c  c c c  c c c  c c c |
  c8 c c  c c c  c c c  c c c |
}

Cheers,
  Harm

Reply via email to