On Thu, 6 Oct 2022 at 19:59, Paul Scott <waterhorse@ultrasw.com> wrote:
>
> In 2.23.13 Notation 1.3.1 shows how to mix normal text with dynamic
text.
>
> Is there a way to mix normal text, brackets specifically, with
> hairpins? This is used in the U.S. Marine Band versions of the Sousa
> marches.
Hello,
Not sure if it corresponds to your request, but it is possible to get
hairpins between brackets by changing the stencil of Parentheses.
#(define-public (bracket-stencils grob)
(let ((lp (grob-interpret-markup grob (markup #:fontsize 3.5
#:translate (cons -0.3 -0.5) "[")))
(rp (grob-interpret-markup grob (markup #:fontsize 3.5
#:translate (cons 0 -0.5) "]"))))
(list lp rp)))
{
\override Parentheses.stencils = #bracket-stencils
c'1-\parenthesize \< |
c'1\!
}
Cheers,
Xavier