]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/modifying-tuplet-bracket-length.ly
Merge master into nested-bookparts
[lilypond.git] / input / lsr / modifying-tuplet-bracket-length.ly
1 %% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
2 %% This file is in the public domain.
3 \version "2.11.62"
4
5 \header {
6   lsrtags = "rhythms"
7
8   texidoc = "
9 Tuplet brackets can be made to run to prefatory matter or the next
10 note. Default tuplet brackets end at the right edge of the final note
11 of the tuplet; full-length tuplet brackets extend farther to the right,
12 either to cover all the non-rhythmic notation up to the following note,
13 or to cover only the whitespace before the next item of notation, be
14 that a clef, time signature, key signature, or another note.  The
15 example shows how to switch tuplets to full length mode and how to
16 modify what material they cover.
17
18 "
19   doctitle = "Modifying tuplet bracket length"
20 } % begin verbatim
21 \new RhythmicStaff {
22   % Set tuplets to be extendable...
23   \set tupletFullLength = ##t
24   % ...to cover all items up to the next note
25   \set tupletFullLengthNote = ##t
26   \time 2/4
27   \times 2/3 { c4 c c }
28   % ...or to cover just whitespace
29   \set tupletFullLengthNote = ##f
30   \time 4/4
31   \times 4/5 { c4 c1 }
32   \time 3/4
33   c2.
34 }