Hairpin placed between two \markup or parenthesized hairpin
If you need a parenthesized hairpin (i.e. in an Urtext edition) you can … …snippet. You can use it to put a hairpin between any other text or markup element.
…771 % this snippet is useful to put a hairpin between to markups i.e. parentheses or slash % … …the markup texts on each side of the hairpin hairpinBetweenText = #(define-music-function (leftText rightText) (markup? markup?) #{ \once \override Hairpin.stencil = #(lambda (grob) (ly:stencil-combine-at-edge (ly:stencil-combine-at-edge (ly:stencil-aligned-to (grob-interpret-markup …