2009/6/15 Mark Polesky <[email protected]>:

> I see that accidental-placement-interface has an internal property
> called accidental-grobs, but I don't know how to access it, or if
> I could even change it from scheme if I wanted to.

Use ly:grob-object.

\relative c' {
  \override Staff.AccidentalPlacement #'positioning-done =
    #(lambda (grob)
      (ly:grob-set-property! grob 'positioning-done #t)
      (let* ((accs (ly:grob-object grob 'accidental-grobs))
             (b-flat (car (assoc-get 6 accs))))
        (ly:grob-suicide! b-flat)
        (ly:accidental-placement::calc-positioning-done grob)))
    <ef gf bf df>4
}

Though this gets rid of the extra space, it has an unfortunate side
effect of changing the accidental positioning.

Regards,
Neil

<<attachment: b-flat-gone.png>>

_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to