lilypond-user
[Top][All Lists]

## Re: making staves full of rests disappear in a full score

 From: Xavier Scheuer Subject: Re: making staves full of rests disappear in a full score Date: Tue, 28 Dec 2010 15:53:36 +0100

```On 28 December 2010 15:46, Frauke Jurgensen <address@hidden> wrote:
>
> Hello all!
>
> I have a large orchestral score, in which individual instruments at
> times are resting for many pages. I would like these instruments to
> disappear (those staves not to be shown) on systems where they have
> nothing but rests.
>
> The only way I can think of to do this, is to create a new staff at
> the point where the instrument appears, and to do so each time.
>
> Is there a less cumbersome way of doing this?

Hi!

Yes there is!
See Notation Reference manual:
NR 1.6.2 Modifying single staves > Hiding staves

version 2.12:

\layout {
\context {
\RemoveEmptyStaffContext
}
}

http://lilypond.org/doc/v2.13/Documentation/notation/modifying-single-staves.html#hiding-staves

version 2.13:

\layout {
\context {
\Staff \RemoveEmptyStaves
}
}

http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Modifying-single-staves#Hiding-staves

Cheers,
Xavier

--