Re: Lilypond only respects override of Score.SpacingSpanner.strict-grace-spacing at the beginning of the score

Jean Abou Samra <[email protected]>
Newsgroups gmane.comp.gnu.lilypond.bugs
Message-ID <[email protected]>
Le dimanche 24 septembre 2023 à 09:21 +0000, Ole V. Villumsen via bug-lilypond a
écrit :
> \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.


This is expected. The \newSpacingSection command can be used to start a new
SpacingSpanner that will respond to the current active spacing settings.
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----

iHUEABYKAB0WIQSZ7TKxnKGyBvBjzBmj8PYLiTOX/gUCZRABIgAKCRCj8PYLiTOX
/oZvAP4kY3KIuDt4aGmf+lnjYq0nCOVVj80x7s8ehK7j2oGE4gEA1rbOwBbhni2f
po6ixQRKY8hpkdhUVJKCZ2kauVGPkQU=
=5p4a
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.