|
From: | Simon Albrecht |
Subject: | Access a stem’s notehead |
Date: | Fri, 22 Jan 2016 13:47:11 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 |
Hello,I want to write a before-line-breaking callback for stem and need the staff-position of the associated NoteHead. (There aren’t going to be any chords.) This
%%%%% \version "2.19.35" { \override Stem.before-line-breaking = #(lambda (grob) (format #t "~a\n" (ly:grob-parent grob 0))) b'4 } %%%%%tells me that the parent is the NoteColumn. How do I retrieve the NoteHead from the Column?
TIA, Simon
[Prev in Thread] | Current Thread | [Next in Thread] |