Controlling tuplet bracket visibility: Difference between revisions

No edit summary
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
To control the visibility of tuplet brackets, set the property <code>bracket-visibility</code> to either <code>#t</code> (always print a bracket), <code>if-no-beam</code> (only print a bracket if there is no beam) or <code>#f</code> (never print a bracket). The latter is in fact equivalent to omitting the <code>TupletBracket</code> object altogether from the printed output.
To control the visibility of tuplet brackets, set the property <code>bracket-visibility</code> to either <code>#t</code> (always print a bracket), <code>if-no-beam</code> (only print a bracket if there is no beam) or <code>#f</code> (never print a bracket). The latter is in fact equivalent to omitting the <code>TupletBracket</code> object altogether from the printed output.


<lilypond version="2.24" full>
<lilypond version="2.24">
music = \relative c'' {
music = \relative c'' {
   \tuplet 3/2 { c16[ d e } f8]
   \tuplet 3/2 { c16[ d e } f8]
Line 24: Line 24:
   }
   }
}
}
\paper { tagline = ##f }
</lilypond>
</lilypond>


Line 31: Line 29:
[[Category:Rhythms]]
[[Category:Rhythms]]
[[Category:Tweaks and overrides]]
[[Category:Tweaks and overrides]]
[[Category:Included in the official documentation]][[Category:Snippet]]
[[Category:Included in the official documentation]]
[[Category:Snippet]]