]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/changing-the-tuplet-number.ly
lilypond-manuals.css: edit color scheme and some spacing
[lilypond.git] / Documentation / snippets / changing-the-tuplet-number.ly
index 5d4d8891066ccab518953da92a8a91ad4404f417..9ac1693c96492374950b6a9fa8f58d7464b43acb 100644 (file)
@@ -1,30 +1,31 @@
 %% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.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.17.6"
+\version "2.18.0"
 
 \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
-be printed, or the tuplet number may be suppressed altogether.
+tuplet bracket, i.e., the numerator of the argument to the
+@code{\\tuplet} command.
+
+Alternatively, num:den of the tuplet number may be printed, or the
+tuplet number may be suppressed altogether.
 
 "
   doctitle = "Changing the tuplet number"
 } % begin verbatim
 
-
 \relative c'' {
-  \times 2/3 { c8 c c }
-  \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
-  \times 2/3 { c8 c c }
-  \override TupletNumber.stencil = ##f
-  \times 2/3 { c8 c c }
+  \tuplet 3/2 { c8 c c }
+  \omit TupletNumber
+  \tuplet 3/2 { c8 c c }
 }