1 %% DO NOT EDIT this file manually; it is automatically
2 %% generated from LSR http://lsr.dsi.unimi.it
3 %% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
4 %% and then run scripts/auxiliar/makelsr.py
6 %% This file is in the public domain.
13 LilyPond also provides formatting functions to print tuplet numbers
14 different than the actual fraction, as well as to append a note value
15 to the tuplet number or tuplet fraction.
18 doctitle = "Non-default tuplet numbers"
22 \once \override TupletNumber.text =
23 #(tuplet-number::non-default-tuplet-denominator-text 7)
24 \times 2/3 { c4. c4. c4. c4. }
25 \once \override TupletNumber.text =
26 #(tuplet-number::non-default-tuplet-fraction-text 12 7)
27 \times 2/3 { c4. c4. c4. c4. }
28 \once \override TupletNumber.text =
29 #(tuplet-number::append-note-wrapper
30 (tuplet-number::non-default-tuplet-fraction-text 12 7) "8")
31 \times 2/3 { c4. c4. c4. c4. }
33 \once \override TupletNumber.text =
34 #(tuplet-number::append-note-wrapper
35 tuplet-number::calc-denominator-text "4")
36 \times 2/3 { c8 c8 c8 c8 c8 c8 }
37 \once \override TupletNumber.text =
38 #(tuplet-number::append-note-wrapper
39 tuplet-number::calc-fraction-text "4")
40 \times 2/3 { c8 c8 c8 c8 c8 c8 }
42 \once \override TupletNumber.text =
43 #(tuplet-number::fraction-with-notes "4." "8")
44 \times 2/3 { c4. c4. c4. c4. }
45 \once \override TupletNumber.text =
46 #(tuplet-number::non-default-fraction-with-notes 12 "8" 4 "4")
47 \times 2/3 { c4. c4. c4. c4. }