]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/modifying-tuplet-bracket-length.ly
Web-it: replace "open source" with "software libero"
[lilypond.git] / Documentation / snippets / modifying-tuplet-bracket-length.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.14.2"
8
9 \header {
10   lsrtags = "really-simple, rhythms"
11
12 %% Translation of GIT committish: 57f9346bb030f49336a858fcbf1519366fe56454
13   texidocfr = "
14 Les crochets indiquant un nolet peuvent être prolongés jusqu'à un
15 élément de rupture ou jusqu'à la note suivante.  LilyPond termine un
16 crochet de nolet sur la droite de sa dernière tête de note par défaut ;
17 un crochet de pleine longueur s'étendra plus avant, soit jusqu'à le note
18 suivante et en traversant tous les éléments non rythmiques, soit sur
19 tout l'espace précédant le prochain élément de notation, que ce soit une
20 clef, une métrique, une armure ou une autre note.  L'exemple suivant
21 illustre la manière d'activer ces deux fonctionnalités.
22
23 "
24   doctitlefr = "Modification de la longueur d'un crochet de nolet"
25
26   texidoc = "
27 Tuplet brackets can be made to run to prefatory matter or the next
28 note. Default tuplet brackets end at the right edge of the final note
29 of the tuplet; full-length tuplet brackets extend farther to the right,
30 either to cover all the non-rhythmic notation up to the following note,
31 or to cover only the whitespace before the next item of notation, be
32 that a clef, time signature, key signature, or another note.  The
33 example shows how to switch tuplets to full length mode and how to
34 modify what material they cover.
35
36 "
37   doctitle = "Modifying tuplet bracket length"
38 } % begin verbatim
39
40
41 \new RhythmicStaff {
42   % Set tuplets to be extendable...
43   \set tupletFullLength = ##t
44   % ...to cover all items up to the next note
45   \set tupletFullLengthNote = ##t
46   \time 2/4
47   \times 2/3 { c4 c c }
48   % ...or to cover just whitespace
49   \set tupletFullLengthNote = ##f
50   \time 4/4
51   \times 4/5 { c4 c1 }
52   \time 3/4
53   c2.
54 }
55