]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/changing-the-tuplet-number.ly
Run scripts/auxiliar/update-with-convert-ly.sh
[lilypond.git] / Documentation / snippets / changing-the-tuplet-number.ly
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
5 %%
6 %% This file is in the public domain.
7 \version "2.16.0"
8
9 \header {
10   lsrtags = "rhythms"
11
12   texidoc = "
13 By default, only the numerator of the tuplet number is printed over the
14 tuplet bracket, i.e., the denominator of the argument to the
15 @code{\\times} command. 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 \relative c'' {
24   \times 2/3 { c8 c c }
25   \times 2/3 { c8 c c }
26   \override TupletNumber #'text = #tuplet-number::calc-fraction-text
27   \times 2/3 { c8 c c }
28   \override TupletNumber #'stencil = ##f
29   \times 2/3 { c8 c c }
30 }