David,

\version "2.24.4"

\relative c'' {
  \after 4.
  {
    \once \set suggestAccidentals = ##t
    \once \override AccidentalSuggestion.outside-staff-priority = ##f
    \once \override AccidentalSuggestion.avoid-slur = #'inside
    \once \override AccidentalSuggestion.font-size = -3
    \once \override AccidentalSuggestion.script-priority = -1
    \once \hideNotes
    cis8\turn \noBeam
  }
  a'2^> ( \acciaccatura c8 bes8. a16)
}

Above based on:
https://lilypond.org/doc/v2.24/Documentation/notation/expressive-marks-attached-to-notes#Controlling-the-vertical-ordering-of-scripts

Mark

-----Original Message-----
From: lilypond-user-bounces+carsonmark=ca.rr....@gnu.org 
<lilypond-user-bounces+carsonmark=ca.rr....@gnu.org> On Behalf Of David Sumbler
Sent: Saturday, January 25, 2025 1:49 PM
To: lilypond-user@gnu.org
Subject: Adding a slur to a turn

\version "2.24.3"
\language "english"

turnsh = { \once \set suggestAccidentals = ##t
  \once \override AccidentalSuggestion.font-size = -3
  \once \override AccidentalSuggestion.script-priority = -1
  \once \override AccidentalSuggestion.avoid-slur = #'inside
  \once \hideNotes }

{ f''8-.-> d'-> \after 4. { \turnsh gs\turn \noBeam }
  a''2(-> \acciaccatura { c'''8 } bf''8.) a''16-. | }

The above code produces a bar of music - I have attached a .pdf of the output.

This output is exactly what I want, except that the turn and its accidental 
should appear inside the slur, not outside.  I have tried all sorts of tweaks 
and overrides for the turn and the accidental, but without any success.

How can I get the result I want?

David


Reply via email to