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