]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/modifying-tuplet-bracket-length.ly
Fixed errors in Catalan translation
[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.17.11"
8
9 \header {
10   lsrtags = "really-simple, rhythms"
11
12   texidoc = "
13 Tuplet brackets can be made to run to prefatory matter or the next
14 note. Default tuplet brackets end at the right edge of the final note
15 of the tuplet; full-length tuplet brackets extend farther to the right,
16 either to cover all the non-rhythmic notation up to the following note,
17 or to cover only the whitespace before the next item of notation, be
18 that a clef, time signature, key signature, or another note.  The
19 example shows how to switch tuplets to full length mode and how to
20 modify what material they cover.
21
22 "
23   doctitle = "Modifying tuplet bracket length"
24 } % begin verbatim
25
26
27 \new RhythmicStaff {
28   % Set tuplets to be extendable...
29   \set tupletFullLength = ##t
30   % ...to cover all items up to the next note
31   \set tupletFullLengthNote = ##t
32   \time 2/4
33   \tuplet 3/2 { c4 c c }
34   % ...or to cover just whitespace
35   \set tupletFullLengthNote = ##f
36   \time 4/4
37   \tuplet 5/4 { c4 c1 }
38   \time 3/4
39   c2.
40 }