]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/preventing-final-mark-from-removing-final-tuplet.ly
c17638ee995fd0baa1b7b1bd9ca6a33a2e6d6c3c
[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.2"
8
9 \header {
10   lsrtags = "rhythms"
11
12 %% Translation of GIT committish: 28097cf54698db364afeb75658e4c8e0e0ccd716
13   texidocfr = "
14 L'ajout d'une marque-repère en fin de pièce peut entraîner la perte de
15 la dernière indication de nolet.  La désactivation de @code{TupletBracket
16 #'full-length-to-extent} pallie ce problème.
17
18 "
19   doctitlefr = "Préservation de l'indication de nolet lors d'un repère final"
20
21   texidoc = "
22 The addition of a final @code{mark} can result in the loss of a final
23 tuplet marking.  This can be overcome by setting @code{TupletBracket
24 #'full-length-to-extent} to @code{false}.
25
26 "
27   doctitle = "Preventing final mark from removing final tuplet"
28 } % begin verbatim
29
30
31 \new Staff {
32    \set tupletFullLength = ##t
33    \time 1/8
34    \times 2/3 { c'16 c'16 c'16 }
35    \times 2/3 { c'16 c'16 c'16 }
36    \times 2/3 { c'16 c'16 c'16 }
37    \override Score.RehearsalMark #'break-visibility = #'#(#t #t #t)
38    \override Score.RehearsalMark #'direction = #DOWN
39    \override Score.RehearsalMark #'self-alignment-X = #RIGHT
40 % due to issue 2362 the following line is commented
41 %   \mark "Composed Feb 2007 - Feb 2008"
42 % and a shorter mark is used.
43    \mark "1234"
44 }
45
46 \new Staff {
47   \set tupletFullLength = ##t
48
49   \override TupletBracket #'full-length-to-extent = ##f
50
51   \time 1/8
52   \times 2/3 { c'16 c'16 c'16 }
53   \times 2/3 { c'16 c'16 c'16 }
54   \times 2/3 { c'16 c'16 c'16 }
55   \override Score.RehearsalMark #'break-visibility = #'#(#t #t #t)
56   \override Score.RehearsalMark #'direction = #DOWN
57   \override Score.RehearsalMark #'self-alignment-X = #RIGHT
58 % due to issue 2362 the following line is commented
59 %   \mark "Composed Feb 2007 - Feb 2008"
60 % and a shorter mark is used.
61    \mark "1234"
62 }
63