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