]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/controlling-tuplet-bracket-visibility.ly
fbf73f61231ea8413fa91d2e4165ff178dbe0d1d
[lilypond.git] / input / lsr / controlling-tuplet-bracket-visibility.ly
1 %% Do not edit this file; it is auto-generated from LSR!
2 %% Tags: rhythms
3 \version "2.11.35"
4
5 \header { texidoc = "
6 Default behaviour of tuplet-bracket visibility is to print a bracket
7 unless there is a beam of the same length as the tuplet. To control the
8 visibility of tuplet brackets, you can set the property TupletBracket
9 #'bracket-visibility to either ##t (always print a bracket), ##f (never
10 print a bracket) or #'if-no-beam (only print a bracket if there is no
11 beam).
12 " }
13
14 mus = \relative c'' {
15   \times 2/3 {c16 [ d e } f8]
16   \times 2/3 {c8 d e }
17   \times 2/3 { c4 d e }
18 }
19
20 \new Voice \relative c'{
21   << \mus s4^"default" >>
22    \override TupletBracket #'bracket-visibility = #'if-no-beam
23   << \mus s4^"'if-no-beam" >>
24   \override TupletBracket #'bracket-visibility = ##t
25   << \mus s4^"#t" >>
26   \override TupletBracket #'bracket-visibility = ##f
27   << \mus s4^"#f" >>
28
29