Controlling tuplet bracket visibility: Difference between revisions
Import snippet from LSR |
mNo edit summary |
||
| (3 intermediate revisions by 2 users 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 | <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: | ||
} | } | ||
} | } | ||
</lilypond> | </lilypond> | ||
| Line 32: | Line 30: | ||
[[Category:Tweaks and overrides]] | [[Category:Tweaks and overrides]] | ||
[[Category:Included in the official documentation]] | [[Category:Included in the official documentation]] | ||
[[Category:Snippet]] | |||