Hi Harm,
avoid-slur is the correct method:%#(ly:set-option 'debug-skylines #t) \score { { \time 12/8 \relative c' { a8 b\( c a b c d e f d e f g a b g a b c2. \once \override Script.avoid-slur = #'inside d2.\trill \grace { c16 d } e2.\) } } } Though, for unrelated reasons I had enabled 'debug-skylines and noticed the last part of the PhrasingSlur is not recognized from skylines. See attached image (done with current master). A bug? Thus, cc-ing -devel.
That happened with: 6d76be6462d3595851b0fe3c13ba238b5cdbbddf is the first bad commit commit 6d76be6462d3595851b0fe3c13ba238b5cdbbddf Author: Han-Wen Nienhuys <[email protected]> Date: Fri May 1 09:09:24 2020 +0200 Build slur skyline out of segments rather than boxes. This provides more precise skylines. The regtest shows 11 images that changed, with tighter formatting for files involving slurs. https://sourceforge.net/p/testlilyissues/issues/5936 http://codereview.appspot.com/577820043 Lukas
