]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/preventing-final-mark-from-removing-final-tuplet.ly
Docs: run convert-ly for 2.14.0.
[lilypond.git] / Documentation / snippets / preventing-final-mark-from-removing-final-tuplet.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.0"
8
9 \header {
10   lsrtags = "rhythms"
11
12   texidoc = "
13 The addition of a final @code{mark} can result in the loss of a final
14 tuplet marking.  This can be overcome by setting @code{TupletBracket
15 #'full-length-to-extent} to @code{false}.
16
17 "
18   doctitle = "Preventing final mark from removing final tuplet"
19 } % begin verbatim
20
21 \new Staff {
22    \set tupletFullLength = ##t
23    \time 1/8
24    \times 2/3 { c'16 c'16 c'16 }
25    \times 2/3 { c'16 c'16 c'16 }
26    \times 2/3 { c'16 c'16 c'16 }
27    \override Score.RehearsalMark #'break-visibility = #'#(#t #t #t)
28    \override Score.RehearsalMark #'direction = #DOWN
29    \override Score.RehearsalMark #'self-alignment-X = #RIGHT
30    \mark "Composed Feb 2007 - Feb 2008"
31 }
32
33 \new Staff {
34   \set tupletFullLength = ##t
35
36   \override TupletBracket #'full-length-to-extent = ##f
37
38   \time 1/8
39   \times 2/3 { c'16 c'16 c'16 }
40   \times 2/3 { c'16 c'16 c'16 }
41   \times 2/3 { c'16 c'16 c'16 }
42   \override Score.RehearsalMark #'break-visibility = #'#(#t #t #t)
43   \override Score.RehearsalMark #'direction = #DOWN
44   \override Score.RehearsalMark #'self-alignment-X = #RIGHT
45   \mark "Composed Feb 2007 - Feb 2008"
46 }
47