7 LilyPond also provides formatting functions to print tuplet numbers different
8 than the actual fraction, as well as to append a note value to the tuplet
9 number or tuplet fraction.
11 doctitle = "Non-default tuplet numbers"
15 \once \override TupletNumber #'text = #(tuplet-number::non-default-tuplet-denominator-text 7)
16 \times 2/3 { c4. c4. c4. c4. }
17 \once \override TupletNumber #'text = #(tuplet-number::non-default-tuplet-fraction-text 12 7)
18 \times 2/3 { c4. c4. c4. c4. }
19 \once \override TupletNumber #'text =
20 #(tuplet-number::append-note-wrapper (tuplet-number::non-default-tuplet-fraction-text 12 7) "8")
21 \times 2/3 { c4. c4. c4. c4. }
23 \once \override TupletNumber #'text = #(tuplet-number::append-note-wrapper tuplet-number::calc-denominator-text "4")
24 \times 2/3 { c8 c8 c8 c8 c8 c8 }
25 \once \override TupletNumber #'text = #(tuplet-number::append-note-wrapper tuplet-number::calc-fraction-text "4")
26 \times 2/3 { c8 c8 c8 c8 c8 c8 }
28 \once \override TupletNumber #'text = #(tuplet-number::fraction-with-notes "4." "8")
29 \times 2/3 { c4. c4. c4. c4. }
30 \once \override TupletNumber #'text = #(tuplet-number::non-default-fraction-with-notes 12 "8" 4 "4")
31 \times 2/3 { c4. c4. c4. c4. }