]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/changing-the-tuplet-number.ly
Merge branch 'translation' into 'master'
[lilypond.git] / Documentation / snippets / changing-the-tuplet-number.ly
1 % DO NOT EDIT this file manually; it is automatically
2 % generated from Documentation/snippets/new
3 % Make any changes in Documentation/snippets/new/
4 % and then run scripts/auxiliar/makelsr.py
5 %
6 % This file is in the public domain.
7 %% Note: this file works from version 2.17.30
8 \version "2.17.30"
9
10 \header {
11   lsrtags = "rhythms"
12
13   texidoc = "
14 By default, only the numerator of the tuplet number is printed over the
15 tuplet bracket. Alternatively, num:den of the tuplet number may
16 be printed, or the tuplet number may be suppressed altogether.
17
18 "
19   doctitle = "Changing the tuplet number"
20 } % begin verbatim
21
22
23
24 \relative c'' {
25   \tuplet 3/2 { c8 c c }
26   \tuplet 3/2 { c8 c c }
27   \override TupletNumber.text = #tuplet-number::calc-fraction-text
28   \tuplet 3/2 { c8 c c }
29   \omit TupletNumber
30   \tuplet 3/2 { c8 c c }
31 }