Helge Kruse-5 wrote > I have found a strange behavior with incomplete staves. This is not really > important for a complete score, since you usually want to have all staves > to have the same number of measures. But while entering the notes I've > been > surprised that empty staves will be drawn to the end of the piece when a > specific pattern is in the music. Here's an example: > > > Both measures use polyphonic notes as shown at "Double backslash > construct" > in NR 1.5.2 . In the second measure the second expression is "incomplete". > When you comment out the second measure only the lower stave is drawn to > the end. The same appears when you add "s s s" after the e8 to fill the > second expression of the measure. > > So one could guess that the second expression must have the same length as > the first in polyphonic. But when you shorten the c2 in the first measure > to c4 nothing similar appears. This is quite strange. Are are any > dangerous > thing to expect when the first and the second expression of a polyphonic > are not at equal length?
that's because you use a PianoStaff and the /Keep_alive_together_engraver/ is integrated with this - so when one staff has nothing but the other has, both staves keep alive. if both staves have no notes, the whole pianostaff would be removed. to change this behavior add /\remove Keep_alive_together_engraver/ in the \layout or \with block Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/Strange-polyphonic-behavior-tp146586p146590.html Sent from the User mailing list archive at Nabble.com. _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user