lilypond-user
[Top][All Lists]
Advanced

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

tupletNumberFormatFunction and nested tuplets


From: Trevor Bača
Subject: tupletNumberFormatFunction and nested tuplets
Date: Thu, 29 Jun 2006 09:00:40 -0500

Hello,

Is there a way to set tupletNumberFormatFunction differently for
nested tuplets beginning at the same moment?

%%% BEGIN SNIPPET %%%

\version "2.9.10"

\new Staff {
  \time 4/8
  \once \set tupletNumberFormatFunction = #fraction-tuplet-formatter
  \times 4/3 {
     \once \set tupletNumberFormatFunction = #denominator-tuplet-formatter
     \times 2/3 {
        c'8[ c'8 c'8]
     }
     c'8
  }
}


%%% END SNIPPET %%%

What should happen here is that the outer tuplet number read "4:3"
while the inner tuplet number read simply "3".

Instead, the two different settings to tupletNumberFormatFunction seem
to "fight" for control (probably because they occur at the same
moment), with the lexically last of the two settings "winning". This
gives "3" together with "3", which is wrong; see attached.

(In other words, you can have "4:3" together with "3:2" OR you can
have "3" together with "3"; but you can not mix and match.)

Is there a way around this?



--
Trevor Bača
address@hidden

Attachment: nested-formatting.png
Description: PNG image


reply via email to

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