Printing tuplet brackets on the note head side: Difference between revisions
Appearance
Import snippet from LSR |
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 |
||
| Line 1: | Line 1: | ||
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 <code>visible-over-note-heads</code> can be used to achieve this. | 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 <code>visible-over-note-heads</code> can be used to achieve this. | ||
<lilypond version="2.24 | <lilypond version="2.24"> | ||
music = \relative c'' { | music = \relative c'' { | ||
\tupletNeutral \tuplet 3/2 { c16[ d e } f8] | \tupletNeutral \tuplet 3/2 { c16[ d e } f8] | ||
Revision as of 18:53, 16 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 }
}
}