----- Original Message ----- From: "TaoCG" <tao_lilypondu...@gmx.net>
To: <lilypond-user@gnu.org>
Sent: Saturday, February 26, 2011 12:59 PM
Subject: How to remove all empty staves?



Hi,

I need to remove the staff in one part of a single instrument score but
\RemoveEmptyStaves seems to keep at least one Staff alive, it just removes
the staff and bar lines and the key and time signature but the bar number
stays there and occupies the vertical space of a whole staff.

Actually I have a rehearsal mark (from a predefined global frame) in this
part, I tried removing it (I'd rather not though) but it didn't have any
effect.

I hope someone knows a solution.
I attached the PDF I am currently working on to visualize my problem.

Regards,
Tao

http://old.nabble.com/file/p31019724/wantyou_bass.pdf wantyou_bass.pdf

If the music only has full measure rests for that section, then putting this layout block in the definition will allow the staff to disappear:

\layout {
 \context {
   \RemoveEmptyStaffContext
}


--
Phil Holmes



_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to