lilypond-user
[Top][All Lists]

## Re: Acciaccatura distoring spacing

 From: Stefano Troncaro Subject: Re: Acciaccatura distoring spacing Date: Tue, 21 May 2019 01:30:24 -0300

Oh I see, troubleshooting in big projects like what you describe can be so painful.

Hopefully you figure out specifically what in your poly-mark-engraver.ily is conflicting with overriding the SpacingSpanner. Perhaps if you manage to isolate the problem and make a short example showing the bizarre results you described someone in this list will be able to figure out what is happening and how to fix the poly-mark-engraver.

Anyways, I'm happy you solved it!

El lun., 20 may. 2019 a las 18:01, David Sumbler (<address@hidden>) escribió:
Hi Stefano,

I have now re-read the Horizontal Spacing section, and I am a bit wiser
than I was.

When I tried it, the fix you suggested worked perfectly for the snippet
in my email.  But I had great difficulty when I applied it to my actual
score: I kept getting numerous warnings:

programming error: Cannot determine neighbors for floating column.
continuing, cross fingers

Also, depending where I began/ended the strict-grace-spacing, I
sometimes had really bizarre results with a barline in completely the
wrong place and actually passing through noteheads!

After about 2 hours trying to isolate the cause, I found that it was
due to the fact that my default include file itself includes poly-mark-
engraver-ily.  I disabled this, and then recompiled the whole score
(all 150 pages of it).  To my great relief I found that there were no
problems: clearly I have not actually used the poly-mark facility in
this score.

Thank you very much for your help on this.

David

On Mon, 2019-05-20 at 12:45 -0300, Stefano Troncaro wrote:
> Hi David,
>
> Ttake a look a this snippet:
>
> \version "2.19.82"
>
> \paper { line-width = 65\mm }
>
> <<
>   {
>     \new Staff \time 2/4
>     \newSpacingSection
>     \override Score.SpacingSpanner.strict-grace-spacing = ##t
>     \tuplet 7/4 { g'16 a' b' c'' d'' e'' f'' } g''8 r
>   }
>   {
>     \new Staff
>     \tuplet 3/2 4 { g''8 \acciaccatura a'' g'' g'' } g'' r
>   }
> >>
>
> Does this fix it for you? If it does, I encourage you to read the
> chapter on horizontal spacing of the Notation Reference, and then
> also look at the SpacingSpanner properties and interfaces in the
> Internals Reference.
>
> Hope that helps!
> Stéfano