LEFT | RIGHT |
1 %% DO NOT EDIT this file manually; it is automatically | 1 %% DO NOT EDIT this file manually; it is automatically |
2 %% generated from LSR http://lsr.dsi.unimi.it | 2 %% generated from LSR http://lsr.dsi.unimi.it |
3 %% Make any changes in LSR itself, or in Documentation/snippets/new/ , | 3 %% Make any changes in LSR itself, or in Documentation/snippets/new/ , |
4 %% and then run scripts/auxiliar/makelsr.py | 4 %% and then run scripts/auxiliar/makelsr.py |
5 %% | 5 %% |
6 %% This file is in the public domain. | 6 %% This file is in the public domain. |
7 \version "2.17.5" | 7 \version "2.17.6" |
8 | 8 |
9 \header { | 9 \header { |
10 lsrtags = "rhythms, tweaks-and-overrides" | 10 lsrtags = "rhythms, tweaks-and-overrides" |
11 | 11 |
12 texidoc = " | 12 texidoc = " |
13 The default behavior of tuplet-bracket visibility is to print a bracket | 13 The default behavior of tuplet-bracket visibility is to print a bracket |
14 unless there is a beam of the same length as the tuplet. To control the | 14 unless there is a beam of the same length as the tuplet. To control the |
15 visibility of tuplet brackets, set the property | 15 visibility of tuplet brackets, set the property |
16 @code{'bracket-visibility} to either @code{#t} (always print a | 16 @code{'bracket-visibility} to either @code{#t} (always print a |
17 bracket), @code{#f} (never print a bracket) or @code{#'if-no-beam} | 17 bracket), @code{#f} (never print a bracket) or @code{#'if-no-beam} |
18 (only print a bracket if there is no beam). | 18 (only print a bracket if there is no beam). |
19 | 19 |
20 " | 20 " |
21 doctitle = "Controlling tuplet bracket visibility" | 21 doctitle = "Controlling tuplet bracket visibility" |
22 } % begin verbatim | 22 } % begin verbatim |
23 | 23 |
24 | 24 |
25 music = \relative c'' { | 25 music = \relative c'' { |
26 \times 2/3 { c16[ d e } f8] | 26 \times 2/3 { c16[ d e } f8] |
27 \times 2/3 { c8 d e } | 27 \times 2/3 { c8 d e } |
28 \times 2/3 { c4 d e } | 28 \times 2/3 { c4 d e } |
29 } | 29 } |
30 | 30 |
31 \new Voice { | 31 \new Voice { |
32 \relative c' { | 32 \relative c' { |
33 << \music s4^"default" >> | 33 << \music s4^"default" >> |
34 \override TupletBracket bracket-visibility = #'if-no-beam | 34 \override TupletBracket.bracket-visibility = #'if-no-beam |
35 << \music s4^"'if-no-beam" >> | 35 << \music s4^"'if-no-beam" >> |
36 \override TupletBracket bracket-visibility = ##t | 36 \override TupletBracket.bracket-visibility = ##t |
37 << \music s4^"#t" >> | 37 << \music s4^"#t" >> |
38 \override TupletBracket bracket-visibility = ##f | 38 \override TupletBracket.bracket-visibility = ##f |
39 << \music s4^"#f" >> | 39 << \music s4^"#f" >> |
40 } | 40 } |
41 } | 41 } |
LEFT | RIGHT |