[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re:Re: PianoStaff can't removeEmpty
From: |
胡海鹏 - Hu Haipeng |
Subject: |
Re:Re: PianoStaff can't removeEmpty |
Date: |
Wed, 9 Feb 2011 20:18:08 +0800 (CST) |
Regards
Haipeng
> -----原始邮件-----
> 发件人: "Xavier Scheuer" <address@hidden>
> 发送时间: 2011年2月9日 星期三
> 收件人: "胡海鹏 - Hu Haipeng" <address@hidden>
> 抄送: lilypond-user <address@hidden>
> 主题: Re: PianoStaff can't removeEmpty
>
> 2011/2/9 胡海鹏 - Hu Haipeng <address@hidden>:
> >
> > 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 <address@hidden>