On Mon, 21 Jan 2019 at 14:57, Gianmaria Lari <[email protected]> wrote:
> > > On Mon, 21 Jan 2019 at 13:02, Valentin Villenave <[email protected]> > wrote: > >> On 1/21/19, Andrew Bernard <[email protected]> wrote: >> > Not sure how to do it with PianoStaff. >> >> That’s because of the Keep_alive_together engraver. Your layout block >> should look like: >> >> \layout { >> \context { >> \PianoStaff >> \RemoveEmptyStaves >> \remove "Keep_alive_together_engraver" >> \override VerticalAxisGroup.remove-first = ##t >> } >> } >> >> That being said, I have never seen a piano part where only one of the >> hands is printed when the other doesn’t play. (Vibraphone and marimba >> parts, maybe.) That’s why we added this feature in the first place. >> > [...] Valentin, your solution works well if the staff is made of rests (r) or skips (s). Is it possible to print the staff if it contains rests but avoid to print it if it contains skip? Thank you, g.
_______________________________________________ lilypond-user mailing list [email protected] https://lists.gnu.org/mailman/listinfo/lilypond-user
