Thanks, but in my situation, both of my harp staves are empty, but the system is always there. See http://www.darajan2.com/douban/Haipeng/Celebration%20Overture.zip Regards Haipeng > -----原始邮件----- > 发件人: "Xavier Scheuer" <x.sche...@gmail.com> > 发送时间: 2011年2月9日 星期三 > 收件人: "胡海鹏 - Hu Haipeng" <hhpmu...@163.com> > 抄送: lilypond-user <lilypond-user@gnu.org> > 主题: Re: PianoStaff can't removeEmpty > > 2011/2/9 胡海鹏 - Hu Haipeng <hhpmu...@163.com>: > > > > Hello, > > I suddenly discover that in all my scores, the piano staff can't remove > > empty. Therefore, my harp part is always there throughout my entire piece. > > How to remove it? > > IIRC default settings for PianoStaff is to remove either both staves > if both are "empty", either none if only one is empty (and the other one > contains notes). > > If you want to remove the staves independently (if empty), try > > \layout { > \context { > \Staff > \RemoveEmptyStaves > } > \context { > \PianoStaff > \remove "Keep_alive_together_engraver" > } > } > > > Cheers, > Xavier > > -- > Xavier Scheuer <x.sche...@gmail.com>
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user