1\version "2.21.0"
2\header{
3  texidoc="Non-standard tuplet texts: Printing a tuplet fraction with note durations assigned to both the denominator and the numerator."
4}
5
6
7\context Voice \relative {
8  \once \override TupletNumber.text = #(tuplet-number::fraction-with-notes (ly:make-duration 2 1) (ly:make-duration 3 0))
9  \tuplet 3/2  { c''4. c4. c4. c4. }
10  \once \override TupletNumber.text = #(tuplet-number::non-default-fraction-with-notes 12 (ly:make-duration 3 0) 4 (ly:make-duration 2 0))
11  \tuplet 3/2  { c4. c4. c4. c4. }
12}
13