I guess a MWE doesn't always point you in the right direction. The MWE
works great. This is how Harm's solution looks in its real context:

[image: image.png]
Adding or deleting \temporary and playing with different values for
Score.SpacingSpanner.common-shortest-duration and
Score.GraceSpacing.common-shortest-duration didn't solve the problem.

Am Mo., 12. Okt. 2020 um 15:53 Uhr schrieb Kieren MacMillan <
kieren_macmil...@sympatico.ca>:

> Hi all,
>
> Here’s what looks best to me:
>
> %%%
> \version "2.21.2"
>
> foo = {
>  \newSpacingSection
>  \temporary \override Score.SpacingSpanner.strict-note-spacing = ##t
>  \temporary \override Score.SpacingSpanner.common-shortest-duration =
> #(ly:make-moment 1/20)
>  \temporary \override Score.GraceSpacing.common-shortest-duration =
> #(ly:make-moment 1/64)
> }
>
> unfoo = {
>  \revert Score.SpacingSpanner.strict-note-spacing
>  \revert Score.SpacingSpanner.common-shortest-duration
>  \revert Score.GraceSpacing.common-shortest-duration
>  \newSpacingSection
> }
>
> <<
>  {
>    \relative c''' { \foo r4 \appoggiatura { cis32 b ais } b4 gis' e
> \unfoo  }
>    \relative c''' { r4 \appoggiatura { cis32 b ais } b4 gis' e }
>  }
>  \repeat unfold 2 { \relative c'' \repeat unfold 2 { gis8 b gis b } }
> >>
> %%%
>
> [Again: Well done, Harm!]
>
> Cheers,
> Kieren.
> ________________________________
>
> Kieren MacMillan, composer (he/him/his)
> ‣ website: www.kierenmacmillan.info
> ‣ email: kie...@kierenmacmillan.info
>
>

-- 
www.martinrinconbotero.com

Reply via email to