]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/changing-the-tuplet-number.ly
Imported Upstream version 2.18.0
[lilypond.git] / Documentation / snippets / changing-the-tuplet-number.ly
index 419f7616892be86f8c409330d70ff6d5056d6d1f..e0257869b78ebe016e8de761ffd877034f59b50b 100644 (file)
@@ -1,18 +1,18 @@
-%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
-%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
-%% and then run scripts/auxiliar/makelsr.py
-%%
-%% This file is in the public domain.
-\version "2.16.0"
+% DO NOT EDIT this file manually; it is automatically
+% generated from Documentation/snippets/new
+% Make any changes in Documentation/snippets/new/
+% and then run scripts/auxiliar/makelsr.py
+%
+% This file is in the public domain.
+%% Note: this file works from version 2.17.30
+\version "2.17.30"
 
 \header {
   lsrtags = "rhythms"
 
   texidoc = "
 By default, only the numerator of the tuplet number is printed over the
-tuplet bracket, i.e., the denominator of the argument to the
-@code{\\times} command. Alternatively, num:den of the tuplet number may
+tuplet bracket. Alternatively, num:den of the tuplet number may
 be printed, or the tuplet number may be suppressed altogether.
 
 "
@@ -20,11 +20,12 @@ be printed, or the tuplet number may be suppressed altogether.
 } % begin verbatim
 
 
+
 \relative c'' {
-  \times 2/3 { c8 c c }
-  \times 2/3 { c8 c c }
-  \override TupletNumber #'text = #tuplet-number::calc-fraction-text
-  \times 2/3 { c8 c c }
-  \override TupletNumber #'stencil = ##f
-  \times 2/3 { c8 c c }
+  \tuplet 3/2 { c8 c c }
+  \tuplet 3/2 { c8 c c }
+  \override TupletNumber.text = #tuplet-number::calc-fraction-text
+  \tuplet 3/2 { c8 c c }
+  \omit TupletNumber
+  \tuplet 3/2 { c8 c c }
 }