On Sat, Oct 22, 2016 at 6:55 PM, Karol Majewski <karo...@wp.pl> wrote: > Hi David, when a chord doesn't have a flag, then your code doesn't work. Just > replace > > <c e g c e>8~ > > with > > <c e g c e>4~ > > and it won't compile. Perhaps there should be a condition in your code: "if a > note has a a flag then set Flag.Y-extent to (4 . 0)". Or maybe there is a > better way to fix this?
Sure, expand the condition, like so: (if (and (> (length ties) 1) (ly:grob? flag)) DN _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user