There's also the tweak format, which is shorter and works with any grob: bes8\f es,16( f g8-\tweak avoid-slur #'outside -!)
-- Knute Snortum On Wed, Aug 13, 2025 at 2:31 AM Timothy Lanfear <[email protected]> wrote: > bes8\f es,16( f \once \override Script.avoid-slur = #'outside g8-!) > > does work. Scripts also support the grob-interface which includes the > avoid-slur property (click on grob-interface near the bottom of > https://lilypond.org/doc/v2.24/Documentation/internals/script). > On 13/08/2025 04:56, Fennel wrote: > > I’m trying to get an articulation to render outside a slur. This seems > like it should be trivial. > > Here’s the default behavior (version 2.24.4): > > bf8\f ef,16( f g8-!) > > [image: image.png] > > I would like the staccatissimo to render above the slur, and for the slur > to be closer to the noteheads. The Script object does not have the > avoid-slur property that TextScript objects have, which seems like it > would be the correct option to employ here. > > Let me know if you have a solution for this! > — Fennel > > -- > Timothy Lanfear, Bristol, UK. > >
