[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Supress cross-system tuplet courtesy text?
From: |
Jean Abou Samra |
Subject: |
Re: Supress cross-system tuplet courtesy text? |
Date: |
Tue, 27 Apr 2021 22:01:57 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 |
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