On 2024-09-27 17:14, David Sumbler
wrote:
Thanks - that's perfect. The difficulty I had was that I couldn't figure out what class of object an accent is. I had already tried
\override TextScript.avoid-slur = #'inside
but this of course doesn't work. I couldn't find out from the documentation how accents etc. are classified, although I expect it is there somewhere.
I tried Googling for "Lilypond articulations" and looking at the hits that pointed to the notation reference manual quickly led me to https://lilypond.org/doc/v2.24/Documentation/notation/expressive-marks-attached-to-notes where it says:
"The type of grob that an articulation creates depends on what it
is attached to.
On notes or ordinary rests, articulations create Script
objects.
On multi-measure rests, articulations create
MultiMeasureRestScript objects.
On \caesura, articulations create CaesuraScript objects. "
/Mats