Trevor Bača schreef:
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?

It might be possible  with

  \tweak ...stuff.. \times

unfortunately the internal mechanics of that changed recently, so I'm not sure if it still works.

--

Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen

LilyPond Software Design
 -- Code for Music Notation
http://www.lilypond-design.com



_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to