Many thanks, Timothy! Your code worked well for me and is a cleaner solution than my workaround was.
On Mon, 10 Nov 2025 at 09:12, Timothy Lanfear wrote: > On 10/11/2025 12:42, Gabriel Ellsworth wrote: > > Is there a better, simpler, more elegant way to get the output of Example > E — in other words, to tell LilyPond to “ignore the presence of the tenuto > script when placing the slur”? Or, instead, to tell LilyPond to “place > expressive marks like tenuto markings above the staff, just like pralls”? > > Setting avoid-slur moves the Script outside of the slur, and setting > outside-staff-priority to something other than #f moves the Script above > the staff. With the non-standard outside-staff-priority, the tenuto needs > an explicit direction. > > \once \override Script.outside-staff-priority = #0 > \once \override Script.avoid-slur = #'outside > e4^- ( f\prall g) e~ e c2 > > -- > Timothy Lanfear, Bristol, UK. > >
