]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/controlling-tuplet-bracket-visibility.ly
Merge branch 'master' of git://git.sv.gnu.org/lilypond.git into td-lily
[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 \version "2.11.38"
4
5 \header {
6   lsrtags = "rhythms, tweaks-and-overrides"
7  texidoc = "
8 The default behavior of tuplet-bracket visibility is to print a bracket
9 unless there is a beam of the same length as the tuplet. To control the
10 visibility of tuplet brackets, set the property @code{TupletBracket
11 #'bracket-visibility} to either @code{##t} (always print a bracket),
12 @code{##f} (never print a bracket) or @code{#'if-no-beam} (only print a
13 bracket if there is no beam). 
14 " }
15 % begin verbatim
16 mus = \relative c'' {
17   \times 2/3 { c16[ d e } f8]
18   \times 2/3 { c8 d e }
19   \times 2/3 { c4 d e }
20 }
21
22 \new Voice \relative c'{
23   << \mus s4^"default" >>
24   \override TupletBracket #'bracket-visibility = #'if-no-beam
25   << \mus s4^"'if-no-beam" >>
26   \override TupletBracket #'bracket-visibility = ##t
27   << \mus s4^"#t" >>
28   \override TupletBracket #'bracket-visibility = ##f
29   << \mus s4^"#f" >>
30
31