[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Issue 1612 in lilypond: Change staff produces long stems

From: lilypond
Subject: Re: Issue 1612 in lilypond: Change staff produces long stems
Date: Fri, 15 Apr 2011 03:32:29 +0000

Comment #3 on issue 1612 by address@hidden: Change staff produces long stems

the autobeam engraver will emit the beam at after the staff switch has occurred, so the top beam will appear to be in the bottom staff (although from a typesetting perspective, it is not). As such, the notes of both beams are to each other as potential collisions.

Since the top beam cannot inspect the stems of the bottom beam (cyclic dependency), we put infinity for the stem length, forcing the top beam to go below the bottom beam. See beam.cc 1224,

                We must assume that stems are infinitely long in this
                case, as asking for the length of the stem typically
                leads to circular dependencies.

                This strategy assumes that we don't want to handle the
                collision of beams in opposite non-forced directions
                with this code, where shortening the stems of both
                would resolve the problem, eg.

                 x    x
                |    |

                |   |
                x   x

                Such beams would need a coordinating grob to resolve
                the collision, since both will likely want to occupy
                the centerline.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]