lilypond-user
[Top][All Lists]

## Re: Right way to make a function for a set of articulations on a note

 From: Kieren MacMillan Subject: Re: Right way to make a function for a set of articulations on a note Date: Tue, 15 Jan 2019 22:49:24 -0500

```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