Yes, now it does what I want. Thx a lot. This is the final code - without color 
indicators:

hint =
\override TieColumn.before-line-breaking =
 #(lambda (grob)
    (let ((ties (ly:grob-array->list (ly:grob-object grob 'ties))))
    (if (> (length ties) 1)
        (for-each
          (lambda (tie)
            (ly:grob-set-nested-property! tie '(details skyline-padding) 5))
          ties))))

\relative c' {
 \hint
 <c e g c e>4~
 <c e g c e>
 c8~ c4.
}



_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to