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
6 %% This file is in the public domain.
10 lsrtags = "rhythms, tweaks-and-overrides"
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
15 visibility of tuplet brackets, set the property
16 @code{'bracket-visibility} to either @code{#t} (always print a
17 bracket), @code{#f} (never print a bracket) or @code{#'if-no-beam}
18 (only print a bracket if there is no beam).
21 doctitle = "Controlling tuplet bracket visibility"
24 music = \relative c'' {
25 \tuplet 3/2 { c16[ d e } f8]
26 \tuplet 3/2 { c8 d e }
27 \tuplet 3/2 { c4 d e }
32 << \music s4^"default" >>
33 \override TupletBracket.bracket-visibility = #'if-no-beam
34 << \music s4^"'if-no-beam" >>
35 \override TupletBracket.bracket-visibility = ##t
37 \override TupletBracket.bracket-visibility = ##f
41 << \music s4^"omit" >>