]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/preventing-final-mark-from-removing-final-tuplet.ly
Run scripts/auxiliar/update-with-convert-ly.sh
[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.16.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
22 \new Staff {
23    \set tupletFullLength = ##t
24    \time 1/8
25    \times 2/3 { c'16 c'16 c'16 }
26    \times 2/3 { c'16 c'16 c'16 }
27    \times 2/3 { c'16 c'16 c'16 }
28    \override Score.RehearsalMark #'break-visibility = #'#(#t #t #t)
29    \override Score.RehearsalMark #'direction = #DOWN
30    \override Score.RehearsalMark #'self-alignment-X = #RIGHT
31 % due to issue 2362 the following line is commented
32 %   \mark "Composed Feb 2007 - Feb 2008"
33 % and a shorter mark is used.
34    \mark "1234"
35 }
36
37 \new Staff {
38   \set tupletFullLength = ##t
39
40   \override TupletBracket #'full-length-to-extent = ##f
41
42   \time 1/8
43   \times 2/3 { c'16 c'16 c'16 }
44   \times 2/3 { c'16 c'16 c'16 }
45   \times 2/3 { c'16 c'16 c'16 }
46   \override Score.RehearsalMark #'break-visibility = #'#(#t #t #t)
47   \override Score.RehearsalMark #'direction = #DOWN
48   \override Score.RehearsalMark #'self-alignment-X = #RIGHT
49 % due to issue 2362 the following line is commented
50 %   \mark "Composed Feb 2007 - Feb 2008"
51 % and a shorter mark is used.
52    \mark "1234"
53 }