On 11/9/25 01:38, Knute Snortum wrote:
Hi LilyPonders,

When engraving acciaccaturas to a chord, the slur "attaches" to the lowest note. (See A of the attached file.)  I almost always want the slur to attach to the highest note of the chord.  Currently, to do this I change the \acciaccatura to a \slashedGrace and place the closing slur inside the chord (see B).  This isn't too much of a problem except that the slur almost always looks bad and needs a \shape command to fix it (see C).

So two questions: should the acciaccatura default to attaching to the upper note of a chord?  And should I create an "ugly" issue in GitLab for the slur problem?

According to Elain Gould, the slur should lead to the pitch that resolves the grace note, i.e. typically the highest note of the chord, so according to that, it's not only "ugly" but actually a bug. 

It's possible to redefine the default definition of acciaccatura, or define your own variants, see the following example that defines an acciaccatura with the slur pointing upwards (which according to Gould only should be used if the slur otherwise would collide with an accidental, as in Ex. A). However, I couldn't find a way to redefine acciaccatura so that it connects to the upper note, so your workaround with \slashedGrace and manual slur is probably the easiest solution. 

\version "2.25.30"

startAcciaccaturaSlurUpMusic =  {
    <>^\startGraceSlur
   \temporary \override Flag.stroke-style = "grace"
}
acciaccaturaSlurUp =
#(def-grace-function startAcciaccaturaSlurUpMusic stopAcciaccaturaMusic
   (_i "Create an acciaccatura from @var{music}."))



{ \textMark A \acciaccaturaSlurUp { d''8 } <e' cis''>4 }
{ \textMark B \slashedGrace { d''8( } <e' c'')>4 }
%%%

    /Mats

Reply via email to