Printing tuplet brackets on the note head side: Difference between revisions
Appearance
m New category Tags: Mobile edit Mobile web edit |
mNo edit summary |
||
| Line 9: | Line 9: | ||
\new Voice { | \new Voice { | ||
\relative c' { | \relative c' { | ||
\override TextScript.staff-padding = #2.5 | |||
\time 2/4 | \time 2/4 | ||
\override TupletBracket.visible-over-note-heads = ##t | \override TupletBracket.visible-over-note-heads = ##t | ||
\override Score.TextMark.non-musical = ##f | \override Score.TextMark.non-musical = ##f | ||
<>^\markup "default" \music | |||
\override TupletBracket.bracket-visibility = #'if-no-beam | \override TupletBracket.bracket-visibility = #'if-no-beam | ||
<>^\markup \typewriter "if-no-beam" \music | |||
} | } | ||
} | } | ||
Latest revision as of 09:05, 8 December 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' {
\override TextScript.staff-padding = #2.5
\time 2/4
\override TupletBracket.visible-over-note-heads = ##t
\override Score.TextMark.non-musical = ##f
<>^\markup "default" \music
\override TupletBracket.bracket-visibility = #'if-no-beam
<>^\markup \typewriter "if-no-beam" \music
}
}