]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/changing-the-tuplet-number.ly
Add '-dcrop' option to ps and svg backends
[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.di.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.18.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 numerator of the argument to the
15 @code{\\tuplet} command.
16
17 Alternatively, num:den of the tuplet number may be printed, or the
18 tuplet number may be suppressed altogether.
19
20 "
21   doctitle = "Changing the tuplet number"
22 } % begin verbatim
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 }