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