Le 27/04/2021 à 03:13, Michael Blankenship a écrit :
Related question:
Is there a way to suppress the courtesy parens that happen when I'm
putting the text on the far side of the \break for a Horizontal Bracket?
You want something like
\version "2.23.3"
\layout {
\context {
\Voice
\consists Horizontal_bracket_engraver
\override HorizontalBracketText.stencil =
#(lambda (grob)
(let ((text (ly:grob-property grob 'text)))
(ly:message "~s" text)
(if (markup? text)
(grob-interpret-markup grob text)
(ly:grob-suicide! grob))))
}
}
{
c'1\startGroup 1\stopGroup
\override HorizontalBracketText.text = "Some text"
1\startGroup \break 1\stopGroup
}
Best,
Jean