]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/new/changing-the-tuplet-number.ly
Imported Upstream version 2.18.2
[lilypond.git] / Documentation / snippets / new / changing-the-tuplet-number.ly
1 \version "2.17.30"
2
3 \header {
4   lsrtags = "rhythms"
5
6   texidoc = "
7 By default, only the numerator of the tuplet number is printed over the
8 tuplet bracket. Alternatively, num:den of the tuplet number may
9 be printed, or the tuplet number may be suppressed altogether.
10
11 "
12   doctitle = "Changing the tuplet number"
13 }
14
15
16 \relative c'' {
17   \tuplet 3/2 { c8 c c }
18   \tuplet 3/2 { c8 c c }
19   \override TupletNumber.text = #tuplet-number::calc-fraction-text
20   \tuplet 3/2 { c8 c c }
21   \omit TupletNumber
22   \tuplet 3/2 { c8 c c }
23 }