On Thu 15 Jun 2017 at 00:30:44 (+0200), Thomas Morley wrote: > 2017-06-14 18:58 GMT+02:00 David Wright <lily...@lionunicorn.co.uk>: > > > > Would I be right in thinking it searches through the grobs for > > this moment, finds out if any have been displaced, and returns > > the displacement? > > Actually, all Stem-grobs are filtered from the current PaperColumn. > The value returned is the difference between the most left and the > most right Stem. > The NoteColumn where \pushNc (usually note the one on which > \crossStaff works) is applied to is moved by this amount. > > As result the stems are aligned, so \crossStaff can join their stems. > One needs to full-fill the condition that the stems are _very_ close. > > To get more detailed info whats coded, I always find displaying whats > done very helpful. Here:
Thanks for the explanation, which'll help me walk through the code, and for the debug statements. Cheers, David. _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user