On 2024-04-16 3:59 am, Aaron Hill wrote:
What you are looking for, however, can be done with horizontal/analysis
brackets:
%%%%
\version "2.25.13"
\new Voice
\with { \consists Horizontal_bracket_engraver }
{
b'4
-\tweak layer 0
-\tweak direction #UP
-\tweak bracket-flare #'(0 . 0)
-\tweak HorizontalBracketText.Y-offset -0.5
-\tweak HorizontalBracketText.text
\markup \whiteout \pad-around #0.5 "9\""
-\startGroup 4 2\stopGroup
}
%%%%
Oh, and if you need the brackets to align to the measures and not notes,
then the Measure_spanner_engraver is what you probably want.
-- Aaron Hill