]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/preventing-final-mark-from-removing-final-tuplet.ly
Merge branch 'master' into lilypond/translation
[lilypond.git] / Documentation / snippets / preventing-final-mark-from-removing-final-tuplet.ly
1 %% Do not edit this file; it is automatically
2 %% generated from LSR http://lsr.dsi.unimi.it
3 %% This file is in the public domain.
4 \version "2.12.2"
5
6 \header {
7   lsrtags = "rhythms"
8
9   texidoc = "
10 The addition of a final @code{mark} can result in the loss of a final
11 tuplet marking.  This can be overcome by setting @code{TupletBracket
12 #'full-length-to-extent} to @code{false}.
13
14 "
15   doctitle = "Preventing final mark from removing final tuplet"
16 } % begin verbatim
17
18 \new Staff {
19    \set tupletFullLength = ##t
20    \time 1/8
21    \times 2/3 { c'16 c'16 c'16 }
22    \times 2/3 { c'16 c'16 c'16 }
23    \times 2/3 { c'16 c'16 c'16 }
24    \override Score.RehearsalMark #'break-visibility = #'#(#t #t #t)
25    \override Score.RehearsalMark #'direction = #DOWN
26    \override Score.RehearsalMark #'self-alignment-X = #RIGHT
27    \mark "Composed Feb 2007 - Feb 2008"
28 }
29
30 \new Staff {
31   \set tupletFullLength = ##t
32
33   \override TupletBracket #'full-length-to-extent = ##f
34
35   \time 1/8
36   \times 2/3 { c'16 c'16 c'16 }
37   \times 2/3 { c'16 c'16 c'16 }
38   \times 2/3 { c'16 c'16 c'16 }
39   \override Score.RehearsalMark #'break-visibility = #'#(#t #t #t)
40   \override Score.RehearsalMark #'direction = #DOWN
41   \override Score.RehearsalMark #'self-alignment-X = #RIGHT
42   \mark "Composed Feb 2007 - Feb 2008"
43 }
44