]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/non-default-tuplet-numbers.ly
4408ee9d5e52142addb299c52b2eb54431643acb
[lilypond.git] / Documentation / snippets / non-default-tuplet-numbers.ly
1 % Do not edit this file; it is automatically
2 % generated from Documentation/snippets/new
3 % This file is in the public domain.
4 %% Note: this file works from version 2.13.36
5 \version "2.13.40"
6
7 \header {
8 %% Translation of GIT committish: 5160eccb26cee0bfd802d844233e4a8d795a1e94
9   texidoces = "
10 LilyPond también proporciona funciones de formato para imprimir
11 números de grupo especial diferentes a la propia fracción, así
12 como para añadir una figura al número o a la fracción de la
13 agrupación.
14
15 "
16
17   doctitlees = "Números de agrupación especial distintos a los predeterminados"
18
19
20 %% Translation of GIT committish: 0a868be38a775ecb1ef935b079000cebbc64de40
21 texidocde = "
22 LilyPond stellt auch Formatierungsfunktionen zur Verfügung, mit denen
23 N-tolennummern gesetzt werden können, die sich von dem eigentlichen Bruch
24 unterscheiden.  Auch ein Notenwert kann zu Nenner oder Zähler des Bruchs
25 hinzugefügt werden.
26 "
27   doctitlede = "Nicht-standard-N-tolennummern"
28
29
30 %% Translation of GIT committish: 015b8e65e5e9a74cea1618b597402b5b74f89b89
31   texidocfr = "
32 LilyPond sait aussi gérer des nolets dont le chiffrage imprimé ne
33 correspond pas exactement à la fraction de mesure à laquelle ils se
34 réfèrent, tout comme ceux auxquels une valeur de note vient en complément
35 au chiffre.
36 "
37   doctitlefr = "Nolets au chiffrage inhabituel"
38
39   lsrtags = "rhythms"
40
41   texidoc = "
42 LilyPond also provides formatting functions to print tuplet numbers different
43 than the actual fraction, as well as to append a note value to the tuplet
44 number or tuplet fraction.
45 "
46   doctitle = "Non-default tuplet numbers"
47 } % begin verbatim
48
49
50 \relative c'' {
51   \once \override TupletNumber #'text =
52     #(tuplet-number::non-default-tuplet-denominator-text 7)
53   \times 2/3  { c4. c4. c4. c4. }
54   \once \override TupletNumber #'text =
55     #(tuplet-number::non-default-tuplet-fraction-text 12 7)
56   \times 2/3  { c4. c4. c4. c4. }
57   \once \override TupletNumber #'text =
58     #(tuplet-number::append-note-wrapper
59       (tuplet-number::non-default-tuplet-fraction-text 12 7) "8")
60   \times 2/3  { c4. c4. c4. c4. }
61
62   \once \override TupletNumber #'text =
63     #(tuplet-number::append-note-wrapper
64       tuplet-number::calc-denominator-text "4")
65   \times 2/3  { c8 c8 c8 c8 c8 c8 }
66   \once \override TupletNumber #'text =
67     #(tuplet-number::append-note-wrapper
68       tuplet-number::calc-fraction-text "4")
69   \times 2/3  { c8 c8 c8 c8 c8 c8 }
70
71   \once \override TupletNumber #'text =
72     #(tuplet-number::fraction-with-notes "4." "8")
73   \times 2/3  { c4. c4. c4. c4. }
74   \once \override TupletNumber #'text =
75     #(tuplet-number::non-default-fraction-with-notes 12 "8" 4 "4")
76   \times 2/3  { c4. c4. c4. c4. }
77 }