On Sat, Jan 25, 2025 at 1:49 PM David Sumbler <da...@aeolia.co.uk> wrote:

> \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?
>

This is how I'd do it:

%%%
\version "2.24.3"
\language "english"

{
  f''8-.-> d'-> \after 4. {
    \once\hideNotes g\turn -\tweak outside-staff-priority ##f
    ^\markup \teeny \sharp
  }
  a''2(-> \acciaccatura { c'''8 } bf''8.) a''16-. |
}
%%%

--
Knute Snortum

Reply via email to