Re: Lilypond only respects override of Score.SpacingSpanner.strict-grace-spacing at the beginning of the score
"Ole V. Villumsen via bug-lilypond" <[email protected]>
| Newsgroups | gmane.comp.gnu.lilypond.bugs |
|---|---|
| Message-ID | <5nq9WMxhP45T8NMvkNF6r9woOFQ2gJE4KIY03RfzXe5XDEZ3Oj27xeD5akGCYU1PsI0Y7zBgg5AE8Se8-Oj8DwiX1moDMv6eutfAj32kDyY=@protonmail.ch> |
Thanks, Jean, that works in the first example I tried and is very, very helpful. Seems I had not really studied NR 4.5.6 and 4.5.2. Will go through chapter 4. /Ole Sent with [Proton Mail](https://proton.me/) secure email. ------- Original Message ------- On Sunday, September 24th, 2023 at 11:28, Jean Abou Samra <[email protected]> wrote: > 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.