lilypond-user
[Top][All Lists]
Advanced

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

Re: PianoStaff can't removeEmpty


From: Xavier Scheuer
Subject: Re: PianoStaff can't removeEmpty
Date: Wed, 9 Feb 2011 12:58:10 +0100

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>



reply via email to

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