Just to sum up:

stop =
#(define-music-function (parser location music) (ly:music?)
  (set! (ly:music-property music 'tweaks)
        (acons 'before-line-breaking
               (lambda (grob)
                 (let ((dots (ly:grob-object grob 'dot)))
                   (ly:grob-set-property! grob 'duration-log 2)
                   (and (ly:grob? dots)
                        (ly:grob-set-property! dots 'dot-count 0))))
               (ly:music-property music 'tweaks)))
  music)

\relative c {
  \clef alto
  \time 3/4
  <\stop c g' e'>2.\fermata
  << c4 <g' e'>2.\fermata >>
  \once \override NoteColumn #'ignore-collision = ##t
  << c,4 <g' e'>2.\fermata >>
  << c,4*3 <g' e'>2.\fermata >>
  \once \override NoteColumn #'ignore-collision = ##t
  << c,4*3 <g' e'>2.\fermata >>
}

I think the \stop function works fine and doesn't have any warnings.
The chords with c4 in the bass have some undesirable extra space in
the measure. The c4*3 examples look the same (as far as I could tell)
as the \stop example just with the warnings. Thanks all.

-----Jay


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

Reply via email to