bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Lilypond only respects override of Score.SpacingSpanner.strict-grace-spa


From: Ole V. Villumsen
Subject: Lilypond only respects override of Score.SpacingSpanner.strict-grace-spacing at the beginning of the score
Date: Sun, 24 Sep 2023 09:21:19 +0000

\version "2.24.2"

\relative {
  g'1 |
  % The following has no effect.
  \override Score.SpacingSpanner.strict-grace-spacing = ##t
  \grace { a4 } g1 |
}

\relative {
  % This works.
  \override Score.SpacingSpanner.strict-grace-spacing = ##t
  g'1 |
  \grace { a4 } g1 |
}

As a consequence we cannot change this property dynamically in the course of 
the score.

Context: My score contains all of \grace, \acciaccatura, \appoggiatura, 
\slashedGrace and \afterGrace. I want the first four to have the space that 
Lilypond assigns to them by default. I do not want \afterGrace to influence 
spacing of other parts on other staves. In other words I am trying to work 
around Lilypond bug #1329 (from 2010, still not solved). I can do this with a 
combination of spacers as described in NR 1.2.6 and the above mentioned 
property. But then the other kinds of grace notes get hurt. From NR 1.2.6:

\new Voice \relative {
  <<
    { d''1^\trill_( }
    { s2 s4. \grace { c16 d } }
  >>
  c1)
}

Being able to change the strict-grace-spacing for each kind of grace note would 
allow my workaround for #1329 to work.

/Ole

Link: Issue #1329 "\afterGrace placement/behaviour to be discussed":
https://gitlab.com/lilypond/lilypond/-/issues/1329

Sent with Proton Mail secure email.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]