--
Knute Snortum


On Fri, Sep 27, 2024 at 8:14 AM David Sumbler <da...@aeolia.co.uk> wrote:

>
>
> On Fri, 2024-09-27 at 07:54 -0700, Knute Snortum wrote:
>
>
> On Fri, Sep 27, 2024 at 7:42 AM David Sumbler <da...@aeolia.co.uk> wrote:
>
> How do I persuade Lilypond to position all accent marks inside slurs?  At
> the moment, in a passage containing numerous accents and slurs, I am
> finding that some accents are outside the slur and some inside, which looks
> a mess!
>
>
> It's hard to help you with a Minimum WorkingExample (MWE, see
> https://lilypond.org/tiny-examples.html) but a sledgehammer approach
> would be to use...
>
> \override Script.avoid-slur = #'inside
>
> This will force ALL Scripts inside of the slurs, but that means other
> things like pralls and turns too.  You could do them one by one with:
>
> \tweak avoid-slur = #'inside
>
> Post a MWE for us to work with and we'll give you a better answer.
>
>
> 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 don't know if this is in the documentation, but I found it by searching
for "lilypond visual grob index":

https://lilypond.org/ly-examples/visualindex.pdf

Reply via email to