Hi Andrew,

> I often need use a tenuoto with a parenthesised accent, but I only just 
> figured out how to achieve that. Now ti would be convenient have a function 
> of some sort as a shorthand.
> 
> Is this the right way to do it that I came up with? I feel a bit 
> uncomfortable about the <>, and maybe this should be some sort of post event, 
> like articulations themselves?

Yes. Maybe something like this?

%%%  SNIPPET BEGINS
tenu =
  -\tweak stencil #ly:text-interface::print
  -\tweak text
      \markup
        \override #'(baseline-skip . 1.375)
        \center-column {
          \parenthesize \musicglyph #"scripts.sforzato"
          \fontsize #1.1 \musicglyph #"scripts.tenuto"
        }
  -\tenuto

{
  c'' d''-\tenu e''
}
%%%  SNIPPET ENDS

Adjust parameters, spacing, etc., as you see fit.

Hope that helps!
Kieren.
________________________________

Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: i...@kierenmacmillan.info


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to