Hi,

   I'm typesetting a sequence of tuplets, each starting with a grace note
   and it seems impossible to get the correct layout, when using automatic
   grouping of the sequence of tuplets:

   \version "2.25.25"
   \layout{
     indent = #0
     ragged-right = ##t
   }
   \fixed c' {
     \textMark "Desired/expected:"
     f2 \grace g8 \tuplet 3/2 { f e f } \grace a \tuplet 3/2 { g f g } |
     \break
     \textMark "Default:"
     f2 \tuplet 3/2 4 { \grace g8 f e f \grace a g f g } |
     \break
     \textMark "bracket-visibility = ##f"
     \override TupletBracket.bracket-visibility = ##f
     f2 \tuplet 3/2 4 { \grace g8 f e f \grace a g f g } |
    }

   As can be seen, the grace notes are counted as part of each tuplet, so
   that by default a tuplet bracket is added (since the grace note is not
   part of the beam) and even if you easily can turn of the tuplet
   bracket, the tuplet number will still be displaced since it's
   horisontally centered among all the notes of the tuplet, including the
   grace note. The expected/desired behaviour is obviously that the grace
   note shouldn't be considered when placing the tuplet number and when
   deciding if the tuplet bracket should be shown or not.

   The only workaround I could find right now is to write a separate
   \tuplet {...} for each tuplet, which gets tedious if there are long
   sequences like this (I could of course define a macro to save some
   typing). Adding an offset for the tuplet number position is not a good
   solution, since the correct offset will depend on the width of the
   tuplet, and therefore will change from tuplet to tuplet.

       /Mats

Reply via email to