Re: Tuplet brackets too short?

2023-10-20 Thread Paul Hodges
I have used tupletFullLength extensively, and it mostly does what I need 
correctly.  However, the illustration here shows the remaining issue with it - 
which is specific to line breaks.  Within a line, the RH end of the bracket is 
correctly placed just before the bar line, but at a break it is placed on it as 
in this example.


I've also got a patch by Harm in there which extends the bracket over the 
noteheads - as that was written for release 2.23.3, I don't know if it's been 
added to the main codebase (the example here suggests not, unless it's a new 
parameter).



Paul



 From:   Werner LEMBERG  
 To:
 Cc:
 Sent:   20/10/2023 6:33 
 Subject:   Re: Tuplet brackets too short? 

 
> Shouldn't both tuplet brackets span every notecolumn within the 
> purview of the last note's duration? 
 
Yes, at least according to Gould.  Using `tupletFullLength` helps, but 
now tuplet brackets are too long: 
 
``` 
\new Staff 
{ \set Staff.tupletFullLength = ##t 
  \time 2/4 
  << \tuplet 3/2 { c''4 d'' c'' } \\ \tuplet 3/2 { g'4 a'2 } >> 
} 
``` 
 
It looks like a tricky problem, and it seems not to be covered in the 
tracker, so please file an issue. 
 
 
    Werner 





Re: Tuplet brackets too short?

2023-10-20 Thread David Kastrup
Mark Knoop  writes:

> At 05:33 on 20 Oct 2023, Werner LEMBERG wrote:
>>> Shouldn't both tuplet brackets span every notecolumn within the
>>> purview of the last note's duration?
>
>> Yes, at least according to Gould.  Using `tupletFullLength` helps, but
>> now tuplet brackets are too long:
>
> Since 2.25 there is also:
>
>   \override TupletBracket.span-all-note-heads = ##t
>
> which I think does the right thing, at least in the Gould
> "old-style".

Not with regard to the problem I describe.

> Surely this should be the default?

Different problem, different question.

-- 
David Kastrup



Re: Tuplet brackets too short?

2023-10-20 Thread Mark Knoop


At 05:33 on 20 Oct 2023, Werner LEMBERG wrote:
>> Shouldn't both tuplet brackets span every notecolumn within the
>> purview of the last note's duration?

> Yes, at least according to Gould.  Using `tupletFullLength` helps, but
> now tuplet brackets are too long:

Since 2.25 there is also:

  \override TupletBracket.span-all-note-heads = ##t

which I think does the right thing, at least in the Gould "old-style". Surely 
this should be the default?

--
Mark Knoop



Re: Tuplet brackets too short?

2023-10-19 Thread Werner LEMBERG

> Shouldn't both tuplet brackets span every notecolumn within the
> purview of the last note's duration?

Yes, at least according to Gould.  Using `tupletFullLength` helps, but
now tuplet brackets are too long:

```
\new Staff
{ \set Staff.tupletFullLength = ##t
  \time 2/4
  << \tuplet 3/2 { c''4 d'' c'' } \\ \tuplet 3/2 { g'4 a'2 } >>
}
```

It looks like a tricky problem, and it seems not to be covered in the
tracker, so please file an issue.


Werner


Re: Tuplet brackets too short?

2023-10-19 Thread Brian Barker

At 16:10 19/10/2023 +0200, David Kastrup wrote:

... the results look awful:

Shouldn't both tuplet brackets span every notecolumn within the 
purview of the last note's duration?


For what it's worth (I know, I know!), Elaine Gould [Behind Bars, pp. 
195/6] seems to distinguish between old and newer practice:


*Tuplets ending with the longest duration*

Traditionally, the bracket extends only as far as the last written 
duration. Thus a numeral centred in a bracket occurs before the 
central duration, making the rhythm unnecessarily difficult to read. 
It is now usual to extend the bracket to the position of the 
hypothetical final division of the tuplet, so that the numeral occurs 
at the rhythmic centre of the group. This makes complex rhythms 
quicker to read.


*Aligning brackets between parts*

When the final division of a tuplet is subdivided in some parts but 
not in others, the bracket ends need to extend only as far as the 
last duration in each group. This means that brackets may finish at 
different points. If preferred, all brackets may be extended to the 
position of the longest bracket. There is a visual logic to this, 
especially as uniform bracket length will allow the centred tuplet 
numerals to align vertically.


Her subsequent examples seem to follow her "now usual" and "if 
preferred" style that you espouse.


Brian Barker  






Tuplet brackets too short?

2023-10-19 Thread David Kastrup

If I write

\new Staff
{ \time 2/4
  << \tuplet 3/2 { c''4 d'' c'' } \\ \tuplet 3/2 { g'4 a'2 } >>
}

the results look awful:


Shouldn't both tuplet brackets span every notecolumn within the purview
of the last note's duration?  I think this might also apply if the upper
voice contained 4 eighths instead of the three triplets:



-- 
David Kastrup