Printing tuplet brackets on the note head side: Difference between revisions
Appearance
m Replace version="2.24.0" with version="2.24" now that the LilyWiki extension supports auto-selecting the latest release in a stable series |
No edit summary |
||
| Line 21: | Line 21: | ||
[[Category:Rhythms]] | [[Category:Rhythms]] | ||
[[Category:Tweaks and overrides]] | [[Category:Tweaks and overrides]] | ||
[[Category:Included in the official documentation]] | [[Category:Included in the official documentation]][[Category:Snippet]] | ||
Revision as of 22:58, 21 November 2025
Whichever option you choose for controlling the tuplet bracket visibility, it will show or hide the tuplet bracket irrespectively of tuplet bracket placement (stem side or note head side). However, when placing the tuplet bracket on the note head side some authors recommend always printing the tuplet bracket. The option visible-over-note-heads can be used to achieve this.
\version "2.24"
music = \relative c'' {
\tupletNeutral \tuplet 3/2 { c16[ d e } f8]
\tupletUp \tuplet 3/2 { c8 d e }
}
\new Voice {
\relative c' {
\time 2/4
\override TupletBracket.visible-over-note-heads = ##t
\override Score.TextMark.non-musical = ##f
{ \textMark \markup "default" \music }
\override TupletBracket.bracket-visibility = #'if-no-beam
{ \textMark \markup \typewriter "'if-no-beam" \music }
}
}